Class Sql

Summary

Fully Qualified Name: Zend\Db\Sql\Sql

Description

Methods

Name Description Defined By
__construct() Sql
buildSqlString() Sql
delete() Sql
getAdapter() Sql
getSqlPlatform() Sql
getSqlStringForSqlObject() Get sql string using platform or sql object Sql
getTable() Sql
hasTable() Sql
insert() Sql
prepareStatementForSqlObject() Sql
select() Sql
setTable() Sql
update() Sql

Method Details

__construct()

Parameter Name Type Description
$adapter \AdapterInterface
$table null|string|array|\TableIdentifier
$sqlPlatform null|\Platform\AbstractPlatform @deprecated

Returns:

buildSqlString()

Parameter Name Type Description
$sqlObject \SqlInterface
$adapter \AdapterInterface

Returns: string

delete()

Parameter Name Type Description
$table

Returns: void

getAdapter()

Returns: null|\Zend\Db\Adapter\AdapterInterface

getSqlPlatform()

Returns: void

getSqlStringForSqlObject()

Get sql string using platform or sql object

Parameter Name Type Description
$sqlObject \SqlInterface
$platform \PlatformInterface|null

Returns: string

getTable()

Returns: void

hasTable()

Returns: void

insert()

Parameter Name Type Description
$table

Returns: void

prepareStatementForSqlObject()

Parameter Name Type Description
$sqlObject \PreparableSqlInterface
$statement \StatementInterface
$adapter \AdapterInterface

Returns: \StatementInterface

select()

Parameter Name Type Description
$table

Returns: void

setTable()

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

Returns: self Provides a fluent interface

update()

Parameter Name Type Description
$table

Returns: void

Top