Methods

__construct()

__construct(string $table) 

Parameters

$table

string

addColumn()

addColumn(\Zend\Db\Sql\Ddl\Column\ColumnInterface $column) : \Zend\Db\Sql\Ddl\self

Parameters

Returns

\Zend\Db\Sql\Ddl\self

addConstraint()

addConstraint(\Zend\Db\Sql\Ddl\Constraint\ConstraintInterface $constraint) : \Zend\Db\Sql\Ddl\self

Parameters

Returns

\Zend\Db\Sql\Ddl\self

changeColumn()

changeColumn(string $name, \Zend\Db\Sql\Ddl\Column\ColumnInterface $column) : \Zend\Db\Sql\Ddl\self

Parameters

$name

string

Returns

\Zend\Db\Sql\Ddl\self

dropColumn()

dropColumn(string $name) : \Zend\Db\Sql\Ddl\self

Parameters

$name

string

Returns

\Zend\Db\Sql\Ddl\self

dropConstraint()

dropConstraint(string $name) : \Zend\Db\Sql\Ddl\self

Parameters

$name

string

Returns

\Zend\Db\Sql\Ddl\self

getRawState()

getRawState(string | null $key) : array

Parameters

$key

stringnull

Returns

array

getSqlString()

getSqlString(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) : string

Parameters

Returns

string

setTable()

setTable(string $name) : \Zend\Db\Sql\Ddl\self

Parameters

$name

string

Returns

\Zend\Db\Sql\Ddl\self

createSqlFromSpecificationAndParameters()

createSqlFromSpecificationAndParameters($specifications, $parameters) : string
Inherited

inherited_from \Zend\Db\Sql\AbstractSql::createSqlFromSpecificationAndParameters()

Parameters

$specifications

$parameters

Exceptions

\Zend\Db\Sql\Exception\RuntimeException

Returns

string

processAddColumns()

processAddColumns(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) 

Parameters

$adapterPlatform

processAddConstraints()

processAddConstraints(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) 

Parameters

$adapterPlatform

processChangeColumns()

processChangeColumns(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) 

Parameters

$adapterPlatform

processDropColumns()

processDropColumns(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) 

Parameters

$adapterPlatform

processDropConstraints()

processDropConstraints(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) 

Parameters

$adapterPlatform

processExpression()

processExpression(\Zend\Db\Sql\ExpressionInterface $expression, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, $namedParameterPrefix) 
Inherited

inherited_from \Zend\Db\Sql\AbstractSql::processExpression()

Parameters

$expression

$platform

$driver

$namedParameterPrefix

processSubSelect()

processSubSelect(\Zend\Db\Sql\Select $subselect, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, \Zend\Db\Adapter\ParameterContainer $parameterContainer) 
Inherited

inherited_from \Zend\Db\Sql\AbstractSql::processSubSelect()

Parameters

$subselect

$platform

$driver

$parameterContainer

processTable()

processTable(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) 

Parameters

$adapterPlatform

 Properties

 

$addColumns

$addColumns : array

 

$addConstraints

$addConstraints : array

 

$changeColumns

$changeColumns : array

 

$dropColumns

$dropColumns : array

 

$dropConstraints

$dropConstraints : array

 

$instanceParameterIndex

$instanceParameterIndex : array
Inherited

inherited_from \Zend\Db\Sql\AbstractSql::$$instanceParameterIndex
 

$processInfo

$processInfo : string
Inherited

inherited_from \Zend\Db\Sql\AbstractSql::$$processInfo
 

Specifications for Sql String generation

$specifications : array

 

$table

$table : string

 Constants

 

ADD_COLUMNS

ADD_COLUMNS 

 

ADD_CONSTRAINTS

ADD_CONSTRAINTS 

 

CHANGE_COLUMNS

CHANGE_COLUMNS 

 

DROP_COLUMNS

DROP_COLUMNS 

 

DROP_CONSTRAINTS

DROP_CONSTRAINTS 

 

TABLE

TABLE