
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
- session client not allowed to create doc...
Hello all! So my issue is that I keep getting ERROR Error creating invitation: The requested service is disabled. You can enable the service from the Appwr...
- Help on importing data - error Unknown a...
Hey There! I want to create a local environment on my new computer, i wish to get the information i have on my staging appwrite cloud server. When running mig...
- How to get database file, like JSON or D...
Hi Appwrite team, I want to get database file to share database to another, btw, I can not found any thing like Download button inside Backup tabs. What can I d...
