Elgg
Version 6.2
|
Extends QueryBuilder with GROUP BY statements. More...
Public Member Functions | |||||||
__construct ($expr) | |||||||
Constructor. More... | |||||||
prepare (QueryBuilder $qb, $table_alias=null) | |||||||
{Build an expression and/or apply it to an instance of query builder.
| |||||||
Public Attributes | |
$expr | |
Additional Inherited Members | |
![]() | |
isCallable ($callback) | |
Check if a clause expression is callable. More... | |
call ($callback, QueryBuilder $qb, $table_alias=null) | |
Call the expression for the clause. More... | |
callJoin ($callback, QueryBuilder $qb, $joined_alias, $table_alias=null) | |
Call the expression for a join clause. More... | |
Extends QueryBuilder with GROUP BY statements.
Definition at line 11 of file GroupByClause.php.
Elgg\Database\Clauses\GroupByClause::__construct | ( | $expr | ) |
Constructor.
CompositeExpression | \Closure | string | $expr | Expression |
Definition at line 23 of file GroupByClause.php.
Elgg\Database\Clauses\GroupByClause::prepare | ( | QueryBuilder | $qb, |
$table_alias = null |
|||
) |
{Build an expression and/or apply it to an instance of query builder.
QueryBuilder | $qb | Query builder |
string | $table_alias | Table alias |
Reimplemented from Elgg\Database\Clauses\Clause.
Definition at line 30 of file GroupByClause.php.
Elgg\Database\Clauses\GroupByClause::$expr |
Definition at line 16 of file GroupByClause.php.