1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-04 21:28:02 +02:00

multi INSERT or REPLACE command

This commit is contained in:
David Grudl
2007-05-30 00:01:10 +00:00
parent 89a7c8ac73
commit e33689a5a1
7 changed files with 45 additions and 25 deletions

View File

@@ -58,6 +58,10 @@ LIMIT 10");
dibi::test("INSERT INTO [mytable]", $arr4);
// dibi detects MULTI INSERT or REPLACE command
dibi::test("REPLACE INTO [mytable]", $arr4, $arr4, $arr4);
// dibi detects UPDATE command
$n = 123;
dibi::test("UPDATE [mytable] SET", $arr4, " WHERE [id]=%i", $n);