Elgg  Version 3.0
QueryFiltering.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Database;
4 
11 
15 interface QueryFiltering {
16 
24  public function distinct($distinct = true);
25 
33  public function where(WhereClause $clause);
34 
42  public function select(SelectClause $clause);
43 
51  public function join(JoinClause $clause);
52 
60  public function groupBy(GroupByClause $clause);
61 
69  public function having(HavingClause $clause);
70 
78  public function orderBy(OrderByClause $clause);
79 }
having(HavingClause $clause)
Add having statement.
groupBy(GroupByClause $clause)
Add group by statement.
orderBy(OrderByClause $clause)
Add order by statement.
This interface defines methods for filtering/extending database queries.
Extends QueryBuilder with JOIN clauses.
Definition: JoinClause.php:12
Extends QueryBuilder with SELECT clauses.
Extends QueryBuilder with GROUP BY statements.
select(SelectClause $clause)
Add a select statement.
Extends QueryBuilder with HAVING clauses.
distinct($distinct=true)
Return DISTINCT rows.
Extends QueryBuilder with ORDER BY clauses.
Builds a clause from closure or composite expression.
Definition: WhereClause.php:12
where(WhereClause $clause)
Add where statement.
join(JoinClause $clause)
Add a join callback.