Skip to content

Commit c9f97d7

Browse files
author
Baroukh Ovadia
committed
Adding a test
1 parent 8d90ba4 commit c9f97d7

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

internal/endtoend/testdata/mix_param_types/postgresql/go/test.sql.go

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/endtoend/testdata/mix_param_types/postgresql/test.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CREATE TABLE bar (
55
);
66

77
-- name: CountOne :one
8-
SELECT count(1) FROM bar WHERE id = sqlc.arg(id) AND name <> $1;
8+
SELECT count(1) FROM bar WHERE id = sqlc.arg(id) AND name <> $1 LIMIT sqlc.arg('limit');
99

1010
-- name: CountTwo :one
1111
SELECT count(1) FROM bar WHERE id = $1 AND name <> sqlc.arg(name);

0 commit comments

Comments
 (0)