I have tons of attributes to add. is there a way to programmatically to so instead of manually? It's a web app using nodejs/typescript
Sure, you can create databases, collections and attributes entirely programatically.
https://appwrite.io/docs/references/cloud/server-nodejs/databases#create https://appwrite.io/docs/references/cloud/server-nodejs/databases#createCollection https://appwrite.io/docs/references/cloud/server-nodejs/databases#createBooleanAttribute
Are you creating attributes at runtime? If so, why?
Recommended threads
- Update Team Member name
Hi, is the name in the team membership different of the user name beceause it's empty when i get memberships and in this case is there any way to synchronise it...
- fetching teams error
when I do this : ```// filepath: /C:/Users/hi/Desktop/test/appwrite/src/routes/teams/+server.ts import { account } from '$lib/appwrite'; let loggedInUser: any...
- unable to update phone number if the use...
I have an account created by Google. I tried to update the phone number for that account. But to update the phone number we need to add a password as well. but ...