5 use Doctrine\DBAL\Query\Expression\CompositeExpression;
34 $group_by = $this->
call($group_by,
$qb, $table_alias);
37 if ($group_by instanceof CompositeExpression || is_string($group_by)) {
38 $qb->addGroupBy($group_by);
Interface that allows resolving statements and/or extending query builder.
isCallable($callback)
Check if a clause expression is callable.
call($callback, QueryBuilder $qb, $table_alias=null)
Call the expression for the clause.
Extends QueryBuilder with GROUP BY statements.
prepare(QueryBuilder $qb, $table_alias=null)
{Build an expression and/or apply it to an instance of query builder.Query builder Table aliasComposi...
__construct($expr)
Constructor.
Database abstraction query builder.