We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f420f5a commit a1fafc6Copy full SHA for a1fafc6
1 file changed
tests/sql_test_files/it_works_fetch_with_meta_error.sql
@@ -2,6 +2,6 @@ set res = sqlpage.fetch_with_meta('http://not-a-real-url');
2
3
select 'text' as component,
4
case
5
- when json_extract($res, '$.error') LIKE 'Request failed%' then 'It works !'
6
- else 'Error! Got: ' || $res
+ when json_extract($res, '$.error') LIKE '%Request failed%' then 'It works !'
+ else CONCAT('Error! Got: ', $res)
7
end as contents;
0 commit comments