Skip to content

Commit 2b706b0

Browse files
committed
Update pgx tests
1 parent ba9bd16 commit 2b706b0

File tree

2 files changed

+31
-10
lines changed

2 files changed

+31
-10
lines changed

internal/endtoend/testdata/cast_null/pgx/go/query.sql.go

Lines changed: 25 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
CREATE TABLE foo (bar text);
22

3-
-- name: CastCoalesce :many
4-
SELECT coalesce(bar, '')::text as login
3+
-- name: ListNullable :many
4+
SELECT
5+
NULL::text as a,
6+
NULL::integer as b,
7+
NULL::bigint as c,
8+
NULL::time as d
59
FROM foo;

0 commit comments

Comments
 (0)