Browse Source

SqlDbDriver::insert - $on_duplicate parameter recovered

master
Anton Grebnev 13 years ago
parent
commit
8a2e814438
  1. 2
      model/SqlDbDriver.php

2
model/SqlDbDriver.php

@ -41,7 +41,7 @@ abstract class SqlDbDriver extends DbDriver
* @param mixed $on_duplicate
* @return int Affected rows count
*/
public function insert($table, $data)
public function insert($table, $data, $on_duplicate = array())
{
$columns = array();
foreach ($data as $col => $val) {

Loading…
Cancel
Save