Closed cabo closed 1 year ago
-|
$[?bar(1==1)]
| not well-typed, wherebar
is a function with a parameter of typeLogicalType
and result typeLogicalType
, as1==1
is neither a query nor a function expression with a suitable result type +|$[?bar(@.*)]
| well-typed, wherebar
is a function with a parameter of typeLogicalType
and result typeLogicalType
| +|$[?bar(1==1)]
| well-typed, wherebar
is a function with a parameter of typeLogicalType
and result typeLogicalType
| +|$[?bar(1)]
| not well-typed, wherebar
is a function with a parameter of typeLogicalType
and result typeLogicalType
, as1
is not a query,logical-expr
, or function expression |Any parameter type works with
$[?bar(@.*)]
Indeed. We could make the example more general by not talking about the parameter type there.
Indeed. We could make the example more general by not talking about the parameter type there
Or by adding a bit variety. Done.
Any parameter type works with $[?bar(@.*)]
How does this work with a ValueType
parameter?
Any parameter type works with $[?bar(@.*)]
How does this work with a
ValueType
parameter?
It doesn't. Example needs to be fixed. Thanks.
Any parameter type works with
$[?bar(@.*)]