Skip to content

Commit

Permalink
test: add null::text as default case expr
Browse files Browse the repository at this point in the history
  • Loading branch information
Pulung Ragil committed Dec 13, 2024
1 parent 7212be3 commit ae6cf11
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.

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

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ FROM "mytable";
SELECT CASE WHEN true THEN 'hello'::text ELSE null END
FROM "mytable";

-- name: GetNullable3B :many
SELECT CASE WHEN true THEN 'hello'::text ELSE null::text END
FROM "mytable";

-- name: GetNullable4 :many
SELECT CASE WHEN true THEN 'hello'::text END
FROM "mytable";
Expand Down

0 comments on commit ae6cf11

Please sign in to comment.