protected function RunStatementFilter(&$stmt, &$filteropts) { if ($filteropts["mode"] == "INSERT") { // Force the last ID value to be extracted for INSERT queries. $result = new CSDB_PDO_Statement($this, $stmt, $filteropts); $row = $result->NextRow(); $stmt = false; } parent::RunStatementFilter($stmt, $filteropts); }
protected function RunStatementFilter(&$stmt, &$filteropts) { if ($filteropts["mode"] == "INSERT") { // Force the last ID value to be extracted for INSERT queries. // Unable to find a way to get Oracle to return a row without // Using PL/SQL functions. $result = new CSDB_PDO_Statement($this, $stmt, $filteropts); $row = $result->NextRow(); $stmt = false; } parent::RunStatementFilter($stmt, $filteropts); }