mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-03 07:14:33 +01:00
Add multi-row insert regression test
This commit is contained in:
@@ -173,3 +173,10 @@ do_execsql_test_on_specific_db {:memory:} named-insert-2 {
|
||||
INSERT INTO test (col_b, col_d, col_c) VALUES ('1', '2', '4');
|
||||
SELECT * FROM test;
|
||||
} {1|Empty|1|4|2}
|
||||
|
||||
do_execsql_test_on_specific_db {:memory:} multi-rows {
|
||||
CREATE TABLE test (id INTEGER PRIMARY KEY AUTOINCREMENT, col);
|
||||
INSERT INTO test (col) VALUES (1),(1);
|
||||
SELECT * FROM test;
|
||||
} {1|1
|
||||
2|1}
|
||||
|
||||
Reference in New Issue
Block a user