public function _prepare(string
$sql, array
$options =
[]): PreparedQuery
{ if (!
($this->statement =
$this->db->connID->
prepare($sql))) { $this->errorCode =
$this->db->connID->
lastErrorCode();
$this->errorString =
$this->db->connID->
lastErrorMsg();
if ($this->db->DBDebug
) { throw new DatabaseException($this->errorString . ' code: ' .
$this->errorCode
);
} } return $this;
} /**
* Takes a new set of data and runs it against the currently
* prepared query. Upon success, will return a Results object.
*/