I have the following listDocuments query in Dart server function:
await databases.listDocuments(
databaseId: "game",
collectionId: "airports",
queries: [
Query.offset(offset),
Query.limit(limit),
Query.greaterThan("runway_count", 0),
Query.or([
Query.equal("type", "small_airport"),
Query.equal("type", "medium_airport"),
Query.equal("type", "large_airport"),
]),
],
)
Here, greaterThan query seems not working. It successfully filters airports by type, however also returns airports with runway_count == 0. runway_count is a required integer attribute for the collection. Do you have any idea what might be the reason for that to be ignored?
Recommended threads
- Issue with downloading large files (40GB...
Hi everyone! I am using the latest Appwrite 1.8.0 version on my self-hosted server. I successfully uploaded a large ZIP archive (~40GB) using the chunked uploa...
- Repository directory size should be less...
Whenever I create a function i get the error above. Is there a way to get around this? How do I fix this?
- "Waiting" executions
For my React Native App, I have had no issues deploying a function in Appwrite & the executions either working or failing. Now I am getting status code - 0 & j...