Methods

__construct()

__construct(string $table, bool $isTemporary) 

Parameters

$table

string

$isTemporary

bool

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

getRawState()

getRawState(string | null $key) : array

Parameters

$key

stringnull

Returns

array

Get SQL string for statement

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

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

Parameters

Returns

string

isTemporary()

isTemporary() : bool

Returns

bool

setTable()

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

Parameters

$name

string

Returns

\Zend\Db\Sql\Ddl\self

setTemporary()

setTemporary(bool $temporary) : \Zend\Db\Sql\Ddl\self

Parameters

$temporary

bool

Returns

\Zend\Db\Sql\Ddl\self

buildSqlString()

buildSqlString(\Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, \Zend\Db\Adapter\ParameterContainer $parameterContainer) : string
Inherited

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

Parameters

$parameterContainer

null\Zend\Db\Adapter\ParameterContainer

Returns

string

createSqlFromSpecificationAndParameters()

createSqlFromSpecificationAndParameters(string | array $specifications, string | array $parameters) : string
Inherited

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

Parameters

$specifications

stringarray

$parameters

stringarray

Exceptions

\Zend\Db\Sql\Exception\RuntimeException

Returns

string

Copy variables from the subject into the local properties

localizeVariables() 
Inherited

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

processColumns()

processColumns(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) : \Zend\Db\Sql\Ddl\string[][] | null

Parameters

Returns

\Zend\Db\Sql\Ddl\string[][]null

processCombinedby()

processCombinedby(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) : array | string

Parameters

Returns

arraystring

processConstraints()

processConstraints(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) : \Zend\Db\Sql\Ddl\string[][] | null

Parameters

Returns

\Zend\Db\Sql\Ddl\string[][]null

processExpression()

processExpression(\Zend\Db\Sql\ExpressionInterface $expression, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, \Zend\Db\Adapter\ParameterContainer $parameterContainer, null | string $namedParameterPrefix) : string
Inherited

staticvar int $runtimeExpressionPrefix
inherited_from \Zend\Db\Sql\AbstractSql::processExpression()

Parameters

$parameterContainer

null\Zend\Db\Adapter\ParameterContainer

$namedParameterPrefix

nullstring

Exceptions

\Zend\Db\Sql\Exception\RuntimeException

Returns

string

processStatementEnd()

processStatementEnd(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) : string[]

Parameters

Returns

string[]

processSubSelect()

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

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

Parameters

$subselect

\Zend\Db\Sql\Select

$parameterContainer

null\Zend\Db\Adapter\ParameterContainer

Returns

string

processTable()

processTable(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) : string[]

Parameters

Returns

string[]

resolveColumnValue()

resolveColumnValue(null | array | \Zend\Db\Sql\ExpressionInterface | \Zend\Db\Sql\Select $column, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, \Zend\Db\Adapter\ParameterContainer $parameterContainer, null | string $namedParameterPrefix) : string
Inherited

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

Parameters

$parameterContainer

null\Zend\Db\Adapter\ParameterContainer

$namedParameterPrefix

nullstring

Returns

string

resolveTable()

resolveTable(string | \Zend\Db\Sql\TableIdentifier | \Zend\Db\Sql\Select $table, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Driver\DriverInterface $driver, \Zend\Db\Adapter\ParameterContainer $parameterContainer) : string
Inherited

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

Parameters

Returns

string

 Properties

   

$constraints

$constraints : string[]

 

$instanceParameterIndex

$instanceParameterIndex : array
Inherited

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

$isTemporary

$isTemporary : bool

 

$processInfo

$processInfo : string
Inherited

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

Specifications for Sql String generation

$specifications : string[] | array[]

 

$table

$table : string

 Constants

 

COLUMNS

COLUMNS 

 

CONSTRAINTS

CONSTRAINTS 

 

TABLE

TABLE