blob: 24ac8dd2aa8975e3723ee4d256050272fca779e4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
/* syntax version 1 */
/* postgres can not */
$json = JsonDocument(@@{"a": {"b": 1}, "c": 2}@@);
SELECT
JSON_QUERY($json, "$.a"),
JSON_QUERY($json, "$.b"),
JSON_QUERY($json, "$.c"),
JSON_QUERY(CAST(NULL as JsonDocument), "$.a");
|