jsonb @@ jsonpath → booleanReturns the result of a JSON path predicate check for the specified JSON value. Only the first item of the result is taken into account. If the result is not Boolean, then NULL is returned.'{"a":[1,2,3,4,5]}'::jsonb @@ '$.a[*] > 2' → t
jsonb @@ jsonpath → boolean
jsonb
@@
jsonpath
boolean
Returns the result of a JSON path predicate check for the specified JSON value. Only the first item of the result is taken into account. If the result is not Boolean, then NULL is returned.
NULL
'{"a":[1,2,3,4,5]}'::jsonb @@ '$.a[*] > 2' → t
'{"a":[1,2,3,4,5]}'::jsonb @@ '$.a[*] > 2'
t
jsonb_path_query------------------ 1 2 3 4 5(5 rows)
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных