Files
sqlpage--sqlpage/tests/sql_test_files/it_works_coalesce_eval.sql
2024-12-24 22:24:23 +01:00

5 lines
281 B
SQL

select 'text' as component,
case sqlpage.link(coalesce($i_do_not_exist, 'https://example.com'))
when 'https://example.com' then 'It works !'
else 'error: ' || coalesce(sqlpage.link(coalesce($i_do_not_exist, 'https://example.com')), 'NULL')
end AS contents;