Skip to content

Commit

Permalink
test: update endtoend
Browse files Browse the repository at this point in the history
  • Loading branch information
orisano committed Aug 8, 2023
1 parent 6a25b1b commit 05faad4
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 1 deletion.
38 changes: 38 additions & 0 deletions internal/endtoend/testdata/sqlc_slice/mysql/go/query.sql.go

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

4 changes: 4 additions & 0 deletions internal/endtoend/testdata/sqlc_slice/mysql/query.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ WHERE id IN (sqlc.slice(favourites));
SELECT bar FROM foo
WHERE id IN (sqlc.slice('favourites'));

/* name: FuncNullableNot :many */
SELECT bar FROM foo
WHERE id NOT IN (sqlc.slice('favourites'));

/* name: TypedMyStr :many */
SELECT bar FROM foo
WHERE mystr IN (sqlc.slice(mystr));
38 changes: 38 additions & 0 deletions internal/endtoend/testdata/sqlc_slice/sqlite/go/query.sql.go

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

6 changes: 5 additions & 1 deletion internal/endtoend/testdata/sqlc_slice/sqlite/query.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ WHERE id IN (sqlc.slice(favourites));

/* name: FuncNullable :many */
SELECT bar FROM foo
WHERE id IN (sqlc.slice('favourites'));
WHERE id IN (sqlc.slice('favourites'));

/* name: FuncNullableNot :many */
SELECT bar FROM foo
WHERE id NOT IN (sqlc.slice('favourites'));

0 comments on commit 05faad4

Please sign in to comment.