blob: 0be7f24fa10d65cd605e668f6d0b9180c3f42aac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* syntax version 1 */
/* postgres can not */
$json = CAST(@@{
"key": 123
}@@ as Json);
-- Tuple type is not supported for variables
SELECT
JSON_QUERY(
$json, "strict $var"
PASSING
AsTuple(1, 2) as var
WITH UNCONDITIONAL ARRAY WRAPPER
);
|