
I know that I can OR
values with
database.listDocuments(
queries: [
Query.equal("attribute", [value1, value2]),
]
)
And I know I can AND
attributes like so
database.listDocuments(
queries: [
Query.equal("attribute1", [value1]),
Query.equal("attribute2", [value2]),
]
)
Is there a way to also OR
attributes? Something like
database.listDocuments(
queries: [
Query.equal(["attribute1", "attribute2"], value1),
]
)
Or am I forced to do this ine two seperate queries?

As of now Appwrite don't support passing array in the field value
That's sounds like something that can benefit many peoples. You can start a feature request in Github https://github.com/appwrite/appwrite/issues

Recommended threads
- Creating a relationship with nested obje...
{ "data": { "name": "DiDi", "type": "Software Development", "userJobs": [{ "$id": "68cbf1e2003612fb13ca", "j...
- Realtime integration with SSR auth
Hey, I have a nextjs website with SSR auth, works great. I use a session client for user verification and an admin client with API key. Both is used with node-...
- Adding "name" column to table creates 2-...
As stated, im adding the "name" column to one table, it adds 4 duplicates. In another table it adds 3 duplicates, and when I delete 1 of them, all duplucates di...
