You are here

public function FrxSQLQueryBuilder::execute in Forena Reports 6

Same name and namespace in other branches
  1. 6.2 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::execute()
  2. 7.5 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::execute()
  3. 7.2 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::execute()
  4. 7.3 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::execute()
  5. 7.4 FrxSQLQueryBuilder.inc \FrxSQLQueryBuilder::execute()

* Executes the query that was started with query method * Enter description here ...

File

./FrxSQLQueryBuilder.inc, line 90

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 execute() {
  $where = '';
  if ($this->where_clause) {
    $where = 'WHERE 1=1' . $this->where_clause;
  }
  return forena_invoke_data_provider($this->block, $this->data, $where);
}