You are here

public function FrxSQLQueryBuilder::defineNumericFilters in Forena Reports 6

Same name and namespace in other branches
  1. 6.2 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::defineNumericFilters()

* Helper functon to build common numeric filters. * Enter description here ... *

Parameters

unknown_type $columns:

File

./FrxSQLQueryBuilder.inc, line 70

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 defineNumericFilters($columns) {
  $this
    ->defineColumnFilters($columns, array(
    '<',
    '>',
    '=',
    '<>',
  ));
  return $this;
}