UnionCondition
UNION container to be used in Query.
Tags
Table of Contents
Methods
- __construct() : mixed
- getSql() : string
- getSubQuery() : SqlExpression|Query
- getSubQuerySql() : string
- isAll() : bool
- setAll() : mixed
- setSubQuery() : mixed
Methods
__construct()
public
__construct(Query|SqlExpression $subQuery[, bool $unionAll = false ]) : mixed
Parameters
- $subQuery : Query|SqlExpression
- $unionAll : bool = false
Tags
getSql()
public
getSql([bool $forceObjectPrimary = false ]) : string
Parameters
- $forceObjectPrimary : bool = false
Tags
Return values
stringgetSubQuery()
public
getSubQuery() : SqlExpression|Query
Return values
SqlExpression|QuerygetSubQuerySql()
public
getSubQuerySql([bool $forceObjectPrimary = false ]) : string
Parameters
- $forceObjectPrimary : bool = false
Tags
Return values
stringisAll()
public
isAll() : bool
Return values
boolsetAll()
public
setAll(bool $all) : mixed
Parameters
- $all : bool
setSubQuery()
public
setSubQuery(SqlExpression|Query $subQuery) : mixed
Parameters
- $subQuery : SqlExpression|Query