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 8faa80d commit 910610dCopy full SHA for 910610d
tests/sql_test_files/it_works_fetch_with_meta_error.sql
@@ -0,0 +1,7 @@
1
+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
7
+ end as contents;
0 commit comments