Back

Getting Total Number of Collections in Appwrite for Analytics Dashboard

  • 0
  • General
  • Databases
  • Cloud
Hex
5 Mar, 2025, 13:25

Hi Appwrite Community,

I'm working on an analytics dashboard and would like to retrieve the total number of collections in my Appwrite database. Is there a built-in query or method that can return the total count of collections, similar to getting the length of documents in a collection?

TL;DR
Developers are looking for a way to get the total number of collections in Appwrite for an analytics dashboard without using inefficient methods like "Query.limit(99999)." They are hoping for a solution similar to the "Count" function in relational databases.
Hex
5 Mar, 2025, 13:32

Something like "Count" in relational database

Hex
5 Mar, 2025, 13:35

or could I use something like "Query.limit(99999)", I think it is inefficient for me, so if you ever have any solution I like to hear it guys. Thanks

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