Replies: 1 comment
-
(i) is done in Elide in the This code is used both by JPA and aggregation stores to generate JPQL or SQL from a filter predicate. (ii) is done in the JPA/JPQL store here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a use-case in which api client wants to store a condition in an entity field. The condition is a combination of different
filter expressions
. At one point in time, the condition will be validated by backend side. If the validation result istrue
then backend will take some action, otherwise other one.To leverage Elide and its rsql parser, here is what in my mind for now:
To make the idea happens, I need to have ability to parse the condition (i), convert the condition to, let's say JPQL/HQL (ii), execute the queries and get result (iii), and then check the result to take some action (iv). Could you please advise me, especially item (i) and (ii)?
Beta Was this translation helpful? Give feedback.
All reactions