Methods

__construct()

__construct(\Zend\Db\Adapter\AdapterInterface $adapter, null | string | array | \Zend\Db\Sql\TableIdentifier $table, \Zend\Db\Sql\Platform\AbstractPlatform $sqlPlatform) 

Parameters

$table

nullstringarray\Zend\Db\Sql\TableIdentifier

$sqlPlatform

null\Zend\Db\Sql\Platform\AbstractPlatform

@deprecated since version 3.0

buildSqlString()

buildSqlString(\Zend\Db\Sql\SqlInterface $sqlObject, \Zend\Db\Adapter\AdapterInterface $adapter) : string

delete()

delete($table) 

Parameters

$table

getAdapter()

getAdapter() : null | \Zend\Db\Adapter\AdapterInterface

getSqlPlatform()

getSqlPlatform() 

Get sql string using platform or sql object

getSqlStringForSqlObject(\Zend\Db\Sql\SqlInterface $sqlObject, \Zend\Db\Adapter\Platform\PlatformInterface $platform) : string

deprecated Deprecated in 2.4. Use buildSqlString() instead

Parameters

Returns

string

getTable()

getTable() 

hasTable()

hasTable() 

insert()

insert($table) 

Parameters

$table

prepareStatementForSqlObject()

prepareStatementForSqlObject(\Zend\Db\Sql\PreparableSqlInterface $sqlObject, \Zend\Db\Adapter\Driver\StatementInterface $statement, \Zend\Db\Adapter\AdapterInterface $adapter) : \Zend\Db\Adapter\Driver\StatementInterface

select()

select($table) 

Parameters

$table

setTable()

setTable($table) 

Parameters

$table

update()

update($table) 

Parameters

$table

 Properties

 

$adapter

$adapter : \Zend\Db\Adapter\AdapterInterface

 

$sqlPlatform

$sqlPlatform : \Zend\Db\Sql\Platform\Platform

 

$table

$table : string | array | \Zend\Db\Sql\TableIdentifier