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
- [SOLVED] Query.search() returning all ro...
When I use Query.search() instead of returning rows with the keywords provided it just returns all the rows in the table.
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...