Back

document count

  • 0
  • Self Hosted
  • Databases
Faisal7
22 Mar, 2024, 09:49

Hi everyone, is their a way to get the count of a collection since the result of listDocument which includes the total but its limited to 5000 i think. What is the solution for that. Can anybody help me by that please?

TL;DR
Developers are looking for a way to get the count of a collection beyond the 5000 limit provided by listDocument. Solution: You can use the countDocuments method in MongoDB to get the total count of documents in a collection.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more