Class Insert

Summary

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

Description

Methods

Name Description Defined By
__construct() Constructor Insert
__get() Overloading: variable retrieval Insert
__isset() Overloading: variable isset Insert
__set() Overloading: variable setting Insert
__unset() Overloading: variable unset Insert
columns() Specify columns Insert
getRawState() Get raw state Insert
getSqlString() {@inheritDoc} AbstractSql
into() Create INTO clause Insert
prepareStatement() {@inheritDoc} AbstractPreparableSql
select() Create INTO SELECT clause Insert
values() Specify values to insert Insert

Method Details

__construct()

Constructor

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

Returns:

__get()

Overloading: variable retrieval

Retrieves value by column name

Parameter Name Type Description
$name string

Returns: mixed

__isset()

Overloading: variable isset

Proxies to columns; does a column of that name exist?

Parameter Name Type Description
$name string

Returns: bool

__set()

Overloading: variable setting

Proxies to values, using VALUES_MERGE strategy

Parameter Name Type Description
$name string
$value mixed

Returns: self Provides a fluent interface

__unset()

Overloading: variable unset

Proxies to values and columns

Parameter Name Type Description
$name string

Returns: void

columns()

Specify columns

Parameter Name Type Description
$columns array

Returns: self Provides a fluent interface

getRawState()

Get raw state

Parameter Name Type Description
$key string

Returns: mixed

getSqlString()

{@inheritDoc}

Parameter Name Type Description
$adapterPlatform

Returns:

into()

Create INTO clause

Parameter Name Type Description
$table string|\TableIdentifier

Returns: self Provides a fluent interface

prepareStatement()

{@inheritDoc}

Parameter Name Type Description
$adapter
$statementContainer

Returns: \StatementContainerInterface

select()

Create INTO SELECT clause

Parameter Name Type Description
$select \Select

Returns: self

values()

Specify values to insert

Parameter Name Type Description
$values array|\Select
$flag string one

Returns: self Provides a fluent interface

Top