Thanks, this seems to work, but i have to rewrite my code.
I cannot understand why must be JSON field in SELECT and not in WHERE
Why is there keyword ANY if i must write query like this for multiple values
SELECT id, ANY(x=57 OR x=12 FOR x IN jsondata.attribute.values) cond FROM index WHERE cond=1;
I mean, is this approach effective? Or it doesn’t matter, and what about “cond” in results a waste of memory.