Browse Source

Adding nextResult() function allowing batches of sql statements to be

executed with one call to the query function.
experimental/ZendEngine2
Frank M. Kromann 25 years ago
parent
commit
e9c09b86e1
  1. 10
      pear/DB.php

10
pear/DB.php

@ -688,6 +688,16 @@ class DB_result
return $this->dbh->numRows($this->result);
}
/**
* Get the next result if a batch of queries was executed.
*
* @return bool true if a new result is available or false if not.
*/
function nextResult()
{
return $this->dbh->nextResult($this->result);
}
/**
* Frees the resources allocated for this result set.
* @return int error code

Loading…
Cancel
Save