public function QPDB::doneWithQuery in QueryPath 6
Same name and namespace in other branches
- 7.3 QueryPath/Extension/QPDB.php \QPDB::doneWithQuery()
- 7.2 QueryPath/Extension/QPDB.php \QPDB::doneWithQuery()
1 call to QPDB::doneWithQuery()
- QPDB::addData in QueryPath/
Extension/ QPDB.php
File
- QueryPath/
Extension/ QPDB.php, line 87
Class
Code
public function doneWithQuery() {
if (isset($this->stmt) && $this->stmt instanceof PDOStatement) {
$this->stmt
->closeCursor();
}
unset($this->stmt);
$this->row = NULL;
$this->cycleRows = FALSE;
return $this->qp;
}