category Zend
package Zend_Db
subpackage Sql

 Methods

Constructor

__construct(null | string $table) 

Parameters

$table

nullstring

Overloading: variable retrieval

__get(string $name) : mixed

Retrieves value by column name

Parameters

$name

string

Exceptions

\Zend\Db\Sql\Exception\InvalidArgumentException

Returns

mixed

Overloading: variable isset

__isset(string $name) : bool

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

Parameters

$name

string

Returns

bool

Overloading: variable setting

__set(string $name, mixed $value) : \Zend\Db\Sql\Insert

Proxies to values, using VALUES_MERGE strategy

Parameters

$name

string

$value

mixed

Returns

Overloading: variable unset

__unset(string $name) : void

Proxies to values and columns

Parameters

$name

string

Exceptions

\Zend\Db\Sql\Exception\InvalidArgumentException

Specify columns

columns(array $columns) : \Zend\Db\Sql\Insert

Parameters

$columns

array

Returns

getRawState()

getRawState($key) 

Parameters

$key

Get SQL string for this statement

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

Parameters

$adapterPlatform

null\Zend\Db\Adapter\Platform\PlatformInterface

Defaults to Sql92 if none provided

Returns

string

Crete INTO clause

into(string $table) : \Zend\Db\Sql\Insert

Parameters

$table

string

Returns

Prepare statement

prepareStatement(\Zend\Db\Adapter\Adapter $adapter, \Zend\Db\Adapter\StatementContainerInterface $statementContainer) : void

Specify values to insert

values(array $values, string $flag) : \Zend\Db\Sql\Insert

Parameters

$values

array

$flag

string

one of VALUES_MERGE or VALUES_SET; defaults to VALUES_SET

Exceptions

\Zend\Db\Sql\Exception\InvalidArgumentException

Returns

createSqlFromSpecificationAndParameters()

createSqlFromSpecificationAndParameters($specification, $parameters) : string
Inherited

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

Parameters

$specification

$parameters

Exceptions

\Zend\Db\Sql\Exception\RuntimeException

Returns

string

processExpression()

processExpression(\Zend\Db\Sql\ExpressionInterface $expression, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Adapter $adapter, $namedParameterPrefix) 
Inherited

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

Parameters

$expression

$platform

$adapter

$namedParameterPrefix

processSubSelect()

processSubSelect(\Zend\Db\Sql\Select $subselect, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\Adapter\Adapter $adapter, \Zend\Db\Adapter\ParameterContainer $parameterContainer) 
Inherited

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

Parameters

$subselect

$platform

$adapter

$parameterContainer

 Properties

 

$columns

$columns 

 

$processInfo

$processInfo : string
Inherited

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

<p>Specification array</p>

$specifications : array

 

$table

$table : string

 

$values

$values : array

 Constants

 

SPECIFICATION_INSERT

SPECIFICATION_INSERT 

 

VALUES_MERGE

VALUES_MERGE 

 

VALUES_SET

VALUES_SET