Deeply nested top-filter fails when wrapped in a "or" #3726
Unanswered
noobmaster19
asked this question in
Q&A
Replies: 1 comment 3 replies
-
What you want to do is an OR filtering across embedded resources, although for deeply nested resources. You should change your query to something like: curl ...
-d "select=*,qc:quotationCustomers(q:quotation()),quotationCustomers(quotation!inner(associated_personnel_ids))" \
# Edit: I made a mistake here, it should be `=` instead of `.`
-d "qc.q.associated_personnel_ids=cs.%7B1456f47e-62d5-4ecb-92aa-5922ee576086%7D" \
-d "or=(created_by.eq.1456f47e-62d5-4ecb-92aa-5922ee576086,qc.not.is.null)" The empty embed (the one that has the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
Description of issue
Doing the following query:
fails with the following error:
Doing this:
works.
(Expected behavior vs actual behavior)
I should have all customers, that's filtered by the resource embedding, quotationCustomers.quotation.associated_personnel_ids (an array)
Beta Was this translation helpful? Give feedback.
All reactions