
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
- Internal 500 Server Error
I don't have much information but I am unable to create anything on database, Auth users are creating but not able to fetch into database
- [SOLVED] Access ExecutionStatus of a fun...
I am calling a cloud function from the newest Flutter SDK 20.2.1with the `xasync: false` flag and get the result, but the `execution.status` is not a String and...
- CLI login on self hosted with docker
Hi, I have a working docker setup with traefik in front of the services. Everything works as expected except for login with CLI. I've tried with `appwrite cli...
