on second thought, we won't have insertMany() and replaceMany(), but insert() and replace()
will figure out which one you mean this means that a minor undocumented feature, being able to insert an array and have it automatically serialized, can't exist anymore
This commit is contained in:
@@ -190,7 +190,7 @@ class BasicTest extends SimpleTest {
|
||||
'height' => 190.194
|
||||
);
|
||||
|
||||
DB::insertMany('accounts', $ins);
|
||||
DB::insert('accounts', $ins);
|
||||
$this->assert(DB::affectedRows() === 2);
|
||||
|
||||
$rows = DB::query("SELECT * FROM accounts WHERE height=%d ORDER BY age ASC", 190.194);
|
||||
|
||||
Reference in New Issue
Block a user