Skip to content
Prev Previous commit
Next Next commit
test: add null::text as default case expr
  • Loading branch information
swallowstalker committed Dec 13, 2024
commit 822e73fb30eaca38b41f8b585da4deaee0522ad5

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