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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user