Open elrhomariyounes opened 3 years ago
Hello, the contains (@>) and contained (<@) operators only supports for now Range types. In the docs they can be used also with Array types, Geometric types and Json
Array
ARRAY[1,4,3] @> ARRAY[3,1,3] ARRAY[2,2,7] <@ ARRAY[1,7,4,2,6]
Geometric
circle '<(0,0),2>' @> point '(1,1)' point '(1,1)' <@ circle '<(0,0),2>'
Json
'{"a":1, "b":2}'::jsonb @> '{"b":2}'::jsonb '{"b":2}'::jsonb <@ '{"a":1, "b":2}'::jsonb
I think when using List the Postgrest the request failed, doesn't recognize the operator as @acupofjose mentioned in #15
If you can support those types specially arrays. Thank you very much.
Feature request
Is your feature request related to a problem? Please describe.
Hello, the contains (@>) and contained (<@) operators only supports for now Range types. In the docs they can be used also with Array types, Geometric types and Json
Array
Geometric
Json
I think when using List the Postgrest the request failed, doesn't recognize the operator as @acupofjose mentioned in #15
Describe the solution you'd like
If you can support those types specially arrays. Thank you very much.