You are here

public function FrxSQLQueryBuilder::condition in Forena Reports 7.4

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

Removing Enter description here ...

Parameters

unknown_type $field:

unknown_type $comparison:

unknown_type $value:

File

./FrxSQLQueryBuilder.inc, line 112
FrxSQLQueryBuilder.inc 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

Class

FrxSQLQueryBuilder
@file FrxSQLQueryBuilder.inc 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 condition($field, $value, $comparison = '=') {
  $this->data[$field] = $value;
  $this
    ->filter($field, $comparison);
}