Back

how i can get list of collection not the documents

  • 0
  • Flutter
kanhaiya lal bohra
7 May, 2023, 08:59

hi im using flutter i can see option for getting list of documents but i want to get list of collections.

TL;DR
The user needs help on how to get a list of collections, not documents, using Flutter. One solution is to use the server SDK and refer to the Appwrite documentation on how to list collections.
bhaskarsingh
7 May, 2023, 09:24
D5
7 May, 2023, 09:29

If you need to do that on client side, you can create a collection with documents who contains all the collections names and if needed, their corresponding ID. You can create a function to update it automatically or handle that manually by creating a document every time you create a collection (and updating them manually) or also get the data from the function with the server SDK as bhksar said

D5
7 May, 2023, 21:31

@kanhaiya lal bohra Did you get it or do you need more help?

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