
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
- Query params are way too limiting in ter...
I was trying to list rows in a table that do not already exist in another table. I retrieved around 260 row IDs which are 13 characters in length each, and then...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
- REQUEST FAILED IN MIGRATION
I was trying to moved my archived project to a self-host database . Though the Project is "read only" but there's a message that I can view and migrate data to...
