Class Update

Summary

Fully Qualified Name: Zend\Db\Sql\Update
Extends: AbstractPreparableSql

Description

Methods

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

Method Details

__clone()

__clone

Resets the where object each time the Update is cloned.

Returns: void

__construct()

Constructor

Parameter Name Type Description
$table null|string|\TableIdentifier

Returns:

__get()

Variable overloading

Proxies to "where" only

Parameter Name Type Description
$name string

Returns: mixed

getRawState()

Parameter Name Type Description
$key

Returns: void

getSqlString()

{@inheritDoc}

Parameter Name Type Description
$adapterPlatform

Returns:

join()

Create join clause

Parameter Name Type Description
$name string|array
$on string
$type string one

Returns: self Provides a fluent interface

prepareStatement()

{@inheritDoc}

Parameter Name Type Description
$adapter
$statementContainer

Returns: \StatementContainerInterface

set()

Set key/value pairs to update

Parameter Name Type Description
$values array Associative
$flag string One

Returns: self Provides a fluent interface

table()

Specify table for statement

Parameter Name Type Description
$table string|\TableIdentifier

Returns: self Provides a fluent interface

where()

Create where clause

Parameter Name Type Description
$predicate \Where|\Closure|string|array
$combination string One

Returns: self Provides a fluent interface

Top