blob: 19d17798b8b8efd04f3b44b0a264c753f885bd5c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* syntax version 1 */
/* postgres can not */
-- Null handling
SELECT
JSON_VALUE(NULL, "strict $.key"),
JSON_VALUE(Nothing(Json?), "strict $.key");
-- Casual select
$json = CAST(@@{"key": 128}@@ as Json);
SELECT
JSON_VALUE($json, "strict $.key");
|