public function FrxSQLQueryBuilder::filter in Forena Reports 6.2
Same name and namespace in other branches
- 6 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::filter()
- 7.5 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::filter()
- 7.2 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::filter()
- 7.3 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::filter()
- 7.4 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::filter()
* Filters the query that is being executeed * Enter description here ... *
Parameters
string $field: * @param string $comparison
File
- ./
FrxSQLQueryBuilder.inc, line 105
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 filter($field, $comparison) {
if (@$this->clauses[$field][$comparison]) {
$this->where_clause .= ' AND ' . $this->clauses[$field][$comparison];
}
return $this;
}