Any helper functionality to create a Database/Collection/Attributes using a schema?
- 1
- Databases
I couldn't find any - but wanted to check if there is any helper functionality to read schema configuration (say some simeple JSON or any other format) and create DB/Collections/Attributes etc.?
It is not hard to write one - but it would be helpful if there is a tested/trusted one that new comers can use without having to worry about making mistakes.
Sure, using the appwrite cli you can get a json file that mirrors the setup of your project.
https://appwrite.io/docs/tooling/command-line/deployment#appwrite-json
Recommended threads
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Edit ID of an existing collection
Hi there. Is it possible to edit an ID of an existing collection? Right now it looks impossible from AppWrite cloud at least.