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
- IMPORTANT! SOC-2 Request Failing
Issue requesting SOC-2. If tried other/private browser as well as filling in optional fields.
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Can you suppress row $meta data?
When using listRows with a 'select' query to limit the response [for performance], I'm still getting extra columns (eg. `$id`, `$sequence`, `$createdAt`, `$upda...