Zend Framework
3.0
|
Combine SQL statement - allows combining multiple select statements into one. More...
Public Member Functions | |||||||
__construct ($select=null, $type=self::COMBINE_UNION, $modifier= '') | |||||||
combine ($select, $type=self::COMBINE_UNION, $modifier= '') | |||||||
Create combine clause. | |||||||
union ($select, $modifier= '') | |||||||
Create union clause. | |||||||
except ($select, $modifier= '') | |||||||
Create except clause. | |||||||
intersect ($select, $modifier= '') | |||||||
Create intersect clause. | |||||||
alignColumns () | |||||||
getRawState ($key=null) | |||||||
Get raw state. | |||||||
Public Member Functions inherited from AbstractPreparableSql | |||||||
prepareStatement (AdapterInterface $adapter, StatementContainerInterface $statementContainer) | |||||||
| |||||||
Public Member Functions inherited from AbstractSql | |||||||
getSqlString (PlatformInterface $adapterPlatform=null) | |||||||
Get SQL string for statement.
| |||||||
Public Attributes | |
const | COLUMNS = 'columns' |
const | COMBINE = 'combine' |
const | COMBINE_UNION = 'union' |
const | COMBINE_EXCEPT = 'except' |
const | COMBINE_INTERSECT = 'intersect' |
Protected Member Functions | |
buildSqlString (PlatformInterface $platform, DriverInterface $driver=null, ParameterContainer $parameterContainer=null) | |
Build sql string. | |
Protected Attributes | |
$specifications | |
Combine SQL statement - allows combining multiple select statements into one.
__construct | ( | $select = null , |
|
$type = self::COMBINE_UNION , |
|||
$modifier = '' |
|||
) |
Select | array | null | $select | |
string | $type | |
string | $modifier |
alignColumns | ( | ) |
|
protected |
Build sql string.
PlatformInterface | $platform | |
DriverInterface | $driver | |
ParameterContainer | $parameterContainer |
combine | ( | $select, | |
$type = self::COMBINE_UNION , |
|||
$modifier = '' |
|||
) |
except | ( | $select, | |
$modifier = '' |
|||
) |
getRawState | ( | $key = null | ) |
Get raw state.
string | $key |
intersect | ( | $select, | |
$modifier = '' |
|||
) |
union | ( | $select, | |
$modifier = '' |
|||
) |
|
protected |
const COLUMNS = 'columns' |
const COMBINE = 'combine' |
const COMBINE_EXCEPT = 'except' |
const COMBINE_INTERSECT = 'intersect' |
const COMBINE_UNION = 'union' |