blob: 2c6dfcf9b9e9e90da552eb7825c16137c4e73340 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* syntax version 1 */
/* postgres can not */
/* custom error:Expected data or optional of data, but got: Tuple<Int32,Int32>*/
$json = CAST(@@{
"key": 123
}@@ as Json);
-- Tuple type is not supported for variables
SELECT
JSON_VALUE(
$json, "strict $var"
PASSING
AsTuple(1, 2) as var
);
|