
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
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
- deno 2 Cloud random errors
we have big problems with the functions. although we do not change anything in the function, we have the following random behaviour: - no scope permissions erro...
- Functions not work on Server only Localh...
Hi, I successfully upgraded from 1.4 to 1.7, but I'm having a problem. The functions no longer work with the settings I had. I assume some changes were made. It...
