Rank 3: Container
Hello
I'm trying to create a pagination of my documents. My pagination is set to 10 as limit. But a function like;
Var res = database.listdocuments(query.limit = 10);
When I check res.total gives me the total documents of the query.
I have no issue with this.
I just want to know internally has the query fetched all docs.?
Can I use it to get total docs in a collection.?