Commit d13a3530 authored by liu lei's avatar liu lei

Update MysqliDb.php

rawQuery can  gets the number of affected rows.
parent 1ecb5df1
...@@ -335,6 +335,7 @@ class MysqliDb ...@@ -335,6 +335,7 @@ class MysqliDb
} }
$stmt->execute(); $stmt->execute();
$this->count = $stmt->affected_rows;
$this->_stmtError = $stmt->error; $this->_stmtError = $stmt->error;
$this->_lastQuery = $this->replacePlaceHolders ($this->_query, $params); $this->_lastQuery = $this->replacePlaceHolders ($this->_query, $params);
$res = $this->_dynamicBindResults($stmt); $res = $this->_dynamicBindResults($stmt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment