You are here

public function QPDrupalDB::doneWithQuery in QueryPath 6

Same name and namespace in other branches
  1. 7.3 querypath.classes.inc \QPDrupalDB::doneWithQuery()
  2. 7.2 querypath.classes.inc \QPDrupalDB::doneWithQuery()

Clear the stored query and free up resources.

You should always use this when you care done with a query -- especially if you intend to perform additional queries.

1 call to QPDrupalDB::doneWithQuery()
QPDrupalDB::addData in ./querypath.classes.inc

File

./querypath.classes.inc, line 97
Classes that are part of the QueryPath module.

Class

QPDrupalDB
Add Drupal database support to QueryPath.

Code

public function doneWithQuery() {
  $this->cycleRows = FALSE;
  $this->row = NULL;
  $this->results = NULL;
}