Hi, I'm wondering whether it is possible to exclud...
# community-help
l
Hi, I'm wondering whether it is possible to exclude data from the JOIN-ed collection from the query? For example, I have collections A and B where collection B references A. I am making a query where the root collection is collection A, and I only want documents from collection A to be returned. Collection B is simply used to help filter the documents from collection A. However, documents from collection B are returned in the query too, and I do not need those data. Can I exclude these documents from B from the final response?
1
Solved, in case someone else needs this.
Copy code
"exclude_fields": "$collection_B(*)"
🙌 1