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 want to have a list of my documents, my invites, etc. We can't do this (on a shared server) with oneQuery. How should we achieve this?
I'm not talking about auhtorization (that's already working), I'm talking about hierarchies.
Use multiple QueryFilters
We could to it with two filters, consecutively.
e.g. is_a = document and parent = drive.
However, this still does not cover nested data.
To do this would require a far more complicated query (with recursive logic), not sure how we should express this.
Add a parent filter to Query resources
We can recursively check if the parent matches.
Might also solve searching inside a hierarchy #226
I want to have a list of my documents, my invites, etc. We can't do this (on a shared server) with one
Query
. How should we achieve this?I'm not talking about auhtorization (that's already working), I'm talking about hierarchies.
Use multiple QueryFilters
We could to it with two filters, consecutively.
e.g.
is_a = document
andparent = drive
.However, this still does not cover nested data.
To do this would require a far more complicated query (with recursive logic), not sure how we should express this.
Add a
parent
filter toQuery
resourcesWe can recursively check if the
parent
matches.Might also solve searching inside a hierarchy #226
edit: May be duplicate of #481
The text was updated successfully, but these errors were encountered: