Re: JSON: @@-operator

2019-10-29 Thread Tom Lane
PG Doc comments form writes: > The following documentation comment has been logged on the website: > Page: https://www.postgresql.org/docs/12/functions-json.html > Description: > '{"a":[1,2,3,4,5]}'::jsonb @@ '$.a[*] > 2' does not work; > '{"a":[1,2,3,4,5]}'::jsonb @@ '$.a[*] > 2'::jsonpath work

JSON: @@-operator

2019-10-29 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/12/functions-json.html Description: '{"a":[1,2,3,4,5]}'::jsonb @@ '$.a[*] > 2' does not work; '{"a":[1,2,3,4,5]}'::jsonb @@ '$.a[*] > 2'::jsonpath works as expected