Methods
__clone
__clone() : void
Resets the where object each time the Update is cloned.
Variable overloading
__get(string $name) : mixed
Proxies to "where" only
Parameters
$name
string
Returns
mixed
getRawState()
getRawState($key)
Get SQL string for statement
getSqlString(\Zend\Db\Adapter\Platform\PlatformInterface $adapterPlatform) : string
Parameters
Returns
string
Prepare statement
prepareStatement(\Zend\Db\Adapter\AdapterInterface $adapter, \Zend\Db\Adapter\StatementContainerInterface $statementContainer) : void
Set key/value pairs to update
set(array $values, string $flag) : \Zend\Db\Sql\Update
Parameters
$values
array
Associative array of key values
$flag
string
One of the VALUES_* constants
Exceptions
Returns
Create where clause
where(\Zend\Db\Sql\Where | \Closure | string | array $predicate, string $combination) : \Zend\Db\Sql\Select
Parameters
$combination
string
One of the OP_* constants from Predicate\PredicateSet
Exceptions
Returns
createSqlFromSpecificationAndParameters()
createSqlFromSpecificationAndParameters($specifications, $parameters) : string
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::createSqlFromSpecificationAndParameters() |
Parameters
$specifications
$parameters
Exceptions
Returns
string
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
Properties
$emptyWhereProtection
$emptyWhereProtection : bool
$instanceParameterIndex
$instanceParameterIndex : array
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::$$instanceParameterIndex |
$processInfo
$processInfo : string
Inherited
inherited_from |
\Zend\Db\Sql\AbstractSql::$$processInfo |
$specifications
$specifications : array
Constants
SPECIFICATION_UPDATE
SPECIFICATION_UPDATE
SPECIFICATION_WHERE
SPECIFICATION_WHERE
VALUES_MERGE
VALUES_MERGE