Hi, I'm sure this is a common pattern, and most likely there's a few simple steps to do this, but I've not yet seen any docs on something like this. Basically I want to create a document that will contain much of the user's information in my web game and I want to create the initial state on the account.create event. Is there any doc or how to for the best practice for this? Do I need to create a custom function? If so how do I trigger it? Apologies if this is super basic stuff...
Yes! Functions are the way to go. You can configure a function to trigger on an event. See https://appwrite.io/docs/functions
Thanks! I'll give it a shot
Recommended threads
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...