Nested Condition/Multiple filters in TS Querybuilder #6021
Unanswered
bastien8060
asked this question in
Q&A
Replies: 2 comments
-
|
Worst case scenario, I'll just write it first in EdgeQL, but other than that, the QueryBuilder is great! I feel like the documentation overlooks a lot of important use cases though ! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I love the documentation. I find it full of good examples. The composite filtering worked well for me. @bastien8060 try using the key |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I can't seem to find in the documentation how to set multiple filters on a query (
e.select/e.insert, etc...)I've tried few things:
An array of conditions:
Connecting all conditions with "AND" (errors with "unrecognized pattern")
Nesting all conditions with many
e.opoperators, such that the "AND" operator only connects two conditions directly.I also tried making a "composite filtering" like the first example here: https://www.edgedb.com/docs/clients/js/select#select-a-single-object to no avail since my conditions are based on properties of links
What am I missing? 😅
Beta Was this translation helpful? Give feedback.
All reactions