Skip to content

Commit 651d96b

Browse files
committed
test with sql cast
1 parent 987a322 commit 651d96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- the syntax $x::int is supported only in PostgreSQL
22
-- but for consistency with other databases, sqlpage supports this syntax everywher ()
33
SELECT 'text' as component,
4-
case $x::integer + 1
4+
case $x::decimal + 1
55
when 2 then 'It works !'
66
else 'Error !'
77
end as contents;

0 commit comments

Comments
 (0)