Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion internal/endtoend/testdata/insert_values/sqlite/query.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
INSERT INTO foo (a, b) VALUES (?, ?);

/* name: InsertMultipleValues :exec */
INSERT INTO foo (a, b) VALUES (?, ?), (?, ?);
INSERT INTO foo (a, b) VALUES (?, ?), (?, ?);

/* name: InsertDefaultValues :exec */
INSERT INTO foo DEFAULT VALUES;
2 changes: 1 addition & 1 deletion internal/endtoend/testdata/insert_values/sqlite/schema.sql
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
CREATE TABLE foo (a text, b integer);
CREATE TABLE foo (a text, b integer default 100);

2 changes: 1 addition & 1 deletion internal/engine/sqlite/parser/SQLiteParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ insert_stmt:
)*
| select_stmt
) upsert_clause? returning_clause?
| DEFAULT_ VALUES_ returning_clause?
)
| DEFAULT_ VALUES_
;

upsert_clause:
Expand Down
2 changes: 1 addition & 1 deletion internal/engine/sqlite/parser/SQLiteParser.interp

Large diffs are not rendered by default.

Loading
Loading