
Hey!
Since we don't have any way to do conditional document access, we have to lock down all permissions and roll our own APIs.
Now I'm having another problem, since we cannot do OR
queries, we might not be able to achieve optimal document fetching even server-side.
Take this basic example: We want to get all documents from a collection, that is either non-private or owned by the user.
Pseudo SQL:
SELECT * FROM Posts
WHERE status !== 'private'
OR $user.id == owner
Is there a way to achieve this?

How can we do OR queries?

Currently, there is no support for OR queries, check this issue: https://github.com/appwrite/appwrite/issues/2740

Thanks!

[CLOSED] How can we do OR queries?
Recommended threads
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- 404 error when navigating to the team fr...
the version i m running is `1.7.4` as far as i can tell everything is working fine except for this weird bug in the video. when monitoring the appwrite and app...
- Query params are way too limiting in ter...
I was trying to list rows in a table that do not already exist in another table. I retrieved around 260 row IDs which are 13 characters in length each, and then...
