You are here

public function FrxSQLQueryBuilder::where in Forena Reports 7.2

Same name and namespace in other branches
  1. 7.5 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::where()
  2. 7.3 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::where()
  3. 7.4 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::where()

File

./FrxSQLQueryBuilder.inc, line 57

Class

FrxSQLQueryBuilder
FrxSQLQuery SQL Builder This class defines a common query builder that is used to make SQL safe queries based on named column filteres. @author metzlerd

Code

public function where($condition, $include = TRUE) {
  if ($include) {
    $this->where_clause[] = $condition;
  }
  return $this;
}