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:
Sergey Tsalkov
2011-04-29 01:48:27 -04:00
parent 65cae974c5
commit 0ed2837f3d
2 changed files with 11 additions and 14 deletions

View File

@@ -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);