Elgg  Version 3.0
Public Member Functions | List of all members
Elgg\Database\QueryFiltering Interface Reference

This interface defines methods for filtering/extending database queries. More...

Inheritance diagram for Elgg\Database\QueryFiltering:
Elgg\Database\QueryOptions

Public Member Functions

 distinct ($distinct=true)
 Return DISTINCT rows. More...
 
 where (WhereClause $clause)
 Add where statement. More...
 
 select (SelectClause $clause)
 Add a select statement. More...
 
 join (JoinClause $clause)
 Add a join callback. More...
 
 groupBy (GroupByClause $clause)
 Add group by statement. More...
 
 having (HavingClause $clause)
 Add having statement. More...
 
 orderBy (OrderByClause $clause)
 Add order by statement. More...
 

Detailed Description

This interface defines methods for filtering/extending database queries.

Definition at line 15 of file QueryFiltering.php.

Member Function Documentation

Elgg\Database\QueryFiltering::distinct (   $distinct = true)

Return DISTINCT rows.

Parameters
bool$distinctDistinct
Returns
static

Implemented in Elgg\Database\QueryOptions.

Elgg\Database\QueryFiltering::groupBy ( GroupByClause  $clause)

Add group by statement.

Parameters
GroupByClause$clauseClause
Returns
static

Implemented in Elgg\Database\QueryOptions.

Elgg\Database\QueryFiltering::having ( HavingClause  $clause)

Add having statement.

Parameters
HavingClause$clauseClause
Returns
static

Implemented in Elgg\Database\QueryOptions.

Elgg\Database\QueryFiltering::join ( JoinClause  $clause)

Add a join callback.

Parameters
JoinClause$clauseClause
Returns
static

Implemented in Elgg\Database\QueryOptions.

Elgg\Database\QueryFiltering::orderBy ( OrderByClause  $clause)

Add order by statement.

Parameters
OrderByClause$clauseClause
Returns
static

Implemented in Elgg\Database\QueryOptions.

Elgg\Database\QueryFiltering::select ( SelectClause  $clause)

Add a select statement.

Parameters
SelectClause$clauseClause
Returns
$this

Implemented in Elgg\Database\QueryOptions.

Elgg\Database\QueryFiltering::where ( WhereClause  $clause)

Add where statement.

Parameters
WhereClause$clauseClause
Returns
static

Implemented in Elgg\Database\QueryOptions.


The documentation for this interface was generated from the following file: