
Hi, I will attach an image below from an old tutorial, which I cannot reproduce anymore.

There is no way to create collection with Flutter SDK. You should call a server side Function for creating collection with Flutter

so the code in the image is redandant now?

There is no such Function db.getCollection() for Flutter SDK. You can try like, performing a CRUD on a Collection and if e.code is 404 (No such Collection) then call your Server Function and create new Collection for current user

Please check these Snippets to clear your concept

Hey, The following snippet is used to get the following collection of the given customId. This project uses both Server + client side SDK to do that. (Server Side to create collections and attributes) .
It will take a while to update the code and blogs to latest version (probably end july)
But to create the collection, you can create cloud function that create the collection for you ( you can pass the id in the params when execution from the client side) You can check at this snippet (https://appwrite.io/docs/server/databases?sdk=dart-default#databasesCreateCollection)
Recommended threads
- Upgrade from 1.6.2 to 1.7.2 error during...
I just went through the process of upgrading my selfhosted instance from `1.6.2` to `1.7.2`: ``` docker run -it --rm \ --volume /var/run/docker.sock:/var/r...
- Search queries
do any of yall know how to properly search for single words in a name of a document? for example if the name is `Tape PP-Solvent 50mm/100m 28μm White`, I want ...
- Issue with Database
So, after adding the data in collection then for some reason it gets remove from the collection Why it's happening ? tried 3 times
