Class Combine

Summary

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

Description

Combine SQL statement - allows combining multiple select statements into one

Methods

Name Description Defined By
__construct() Combine
alignColumns() Combine
combine() Create combine clause Combine
except() Create except clause Combine
getRawState() Get raw state Combine
getSqlString() {@inheritDoc} AbstractSql
intersect() Create intersect clause Combine
prepareStatement() {@inheritDoc} AbstractPreparableSql
union() Create union clause Combine

Method Details

__construct()

Parameter Name Type Description
$select \Select|array|null
$type string
$modifier string

Returns:

alignColumns()

Returns: self Provides a fluent interface

combine()

Create combine clause

Parameter Name Type Description
$select \Select|array
$type string
$modifier string

Returns: self Provides a fluent interface

except()

Create except clause

Parameter Name Type Description
$select \Select|array
$modifier string

Returns: self

getRawState()

Get raw state

Parameter Name Type Description
$key string

Returns: array

getSqlString()

{@inheritDoc}

Parameter Name Type Description
$adapterPlatform

Returns:

intersect()

Create intersect clause

Parameter Name Type Description
$select \Select|array
$modifier string

Returns: self

prepareStatement()

{@inheritDoc}

Parameter Name Type Description
$adapter
$statementContainer

Returns: \StatementContainerInterface

union()

Create union clause

Parameter Name Type Description
$select \Select|array
$modifier string

Returns: self

Top