Fully Qualified Name: | Laminas\Db\Sql\Update |
Extends: | AbstractPreparableSql |
Name | Description | Defined By |
---|---|---|
__clone() | __clone | Update |
__construct() | Constructor | Update |
__get() | Variable overloading | Update |
getRawState() | Update | |
getSqlString() | {@inheritDoc} | AbstractSql |
join() | Create join clause | Update |
prepareStatement() | {@inheritDoc} | AbstractPreparableSql |
set() | Set key/value pairs to update | Update |
table() | Specify table for statement | Update |
where() | Create where clause | Update |
__clone
Resets the where object each time the Update is cloned.
Returns: void
Constructor
Parameter Name | Type | Description |
---|---|---|
$table | null|string|\TableIdentifier |
Returns:
Variable overloading
Proxies to "where" only
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: mixed
Parameter Name | Type | Description |
---|---|---|
$key |
Returns: void
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$adapterPlatform |
Returns:
Create join clause
Parameter Name | Type | Description |
---|---|---|
$name | string|array | |
$on | string | |
$type | string | one |
Returns: self Provides a fluent interface
{@inheritDoc}
Parameter Name | Type | Description |
---|---|---|
$adapter | ||
$statementContainer |
Returns: \StatementContainerInterface
Set key/value pairs to update
Parameter Name | Type | Description |
---|---|---|
$values | array | Associative |
$flag | string | One |
Returns: self Provides a fluent interface
Specify table for statement
Parameter Name | Type | Description |
---|---|---|
$table | string|\TableIdentifier |
Returns: self Provides a fluent interface
Create where clause
Parameter Name | Type | Description |
---|---|---|
$predicate | \Where|\Closure|string|array | |
$combination | string | One |
Returns: self Provides a fluent interface