You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to achieve something like this: select * from events where params->>'name' = 'name123';
Params is the column of json type and has in it the field 'name'.
So the goal is to filter by the fields that are present in the json.
Is it possible with the usage of rsql parser?
The text was updated successfully, but these errors were encountered:
One approach that I used in a project is to define a custom operator:
Having key : =k=key
Having key with value =kv=(key, value)
Then JPA + PostgreSQL requires some customization so that JPA "knows" the specific syntax of Postgres. Another way is to use MongoDB which has more support for the dot annotation.
I would like to achieve something like this:
select * from events where params->>'name' = 'name123';
Params is the column of json type and has in it the field 'name'.
So the goal is to filter by the fields that are present in the json.
Is it possible with the usage of rsql parser?
The text was updated successfully, but these errors were encountered: