Commit 260c78ff authored by Alexander Butenko's avatar Alexander Butenko

Support for query options in INSERT

parent 03e5d768
......@@ -396,7 +396,7 @@ class MysqliDb
if ($this->isSubQuery)
return;
$this->_query = "INSERT INTO " .self::$prefix . $tableName;
$this->_query = "INSERT " . implode(' ', $this->_queryOptions) ." INTO " .self::$prefix . $tableName;
$stmt = $this->_buildQuery(null, $insertData);
$stmt->execute();
$this->_stmtError = $stmt->error;
......
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