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
- Update row sheet not loading
After right clicking a row header and click update, the sidebar fails to load (never-ending skeleton)
- Bug report: Race condition in Flutter SD...
Hi team, I've found an intermittent bug in the Flutter SDK (v20.3.0) when using `createOAuth2Session` on Android. **Symptoms** After `createOAuth2Session` re...
- DB Relational Table Request
Hi, I'd like to suggest a rewording of the relationships between tables. - Current wording: storeOperatingDays can contain one storeId ...