I am doing a listDocumments on a collection in the database, with a few queries, but the limit gets ignored regardless to what I write in the limit query. Whatever I do I always get back 25 results
const promise = db.listDocuments( schema.dbid, schema.zapisi, [
Query.select(
[ /* ... bunch of fields ... */ ]),
Query.equal('isDeleted', false),
Query.greaterThanEqual('zacetekKlica',period.value[0].toISOString()),
Query.lessThanEqual('zacetekKlica', period.value[1].toISOString(),
Query.limit(10))
])
Am I doing something wrong or is it a bug?
There's a bug in the code 😅 🤣 You can try to find it. It only took me about an hour 🤪
[SOLVED] Query limit ignored
Recommended threads
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...
- In which format should i pass the date?
I have a column with the type `datetime`. So i want to know which format is suitable for passing the date