mirror of
https://github.com/dg/dibi.git
synced 2025-08-17 03:24:21 +02:00
- DibiConnection: fixed insert() with modifiers (thanks to Matej Kravjar)
This commit is contained in:
@@ -608,7 +608,7 @@ class DibiConnection extends DibiObject
|
||||
throw new InvalidArgumentException('Arguments must be array or ArrayObject.');
|
||||
}
|
||||
return $this->command()->insert()
|
||||
->into('%n', $table, '(%n)', array_keys($args))->values('%l', array_values($args));
|
||||
->into('%n', $table, '(%n)', array_keys($args))->values('%l', $args);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user