
I have been paginating fetching my documents by first reading the total attribute on DocumentList . For that I put a query limit of 1 document and then use the total attribute to carry the pagination..
However, I noticed in flutter that the total attribute shows that it apparently returns the number of documents that satisfy the query, and I can confirm that it's not true. Since I can access the whole actual number of the documents using the total attribute.
In the document_list.dart
file I can see the following
final int total;```
So where is the catch?

Are you expecting the total to be 1 because you put a limit of 1?

I'm just comparing the comment on the line of code against what actually happens, so yeah

as it seems, the limit isn't included when saying matched your query

Ya, we actually mean the filter queries
Recommended threads
- 503 Timeout when Updating or Upserting D...
Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
