collections
- contacts:
- name
- total_amount
- transactions:
- contact_id
- transaction_type
- date
- amount
Q: When I create new transaction, I need to update total_amount in contact collection with logic depend on transaction_type. Manually, I work ๐ but I know that cloud function can make it easy and powerful๐ช. Problem, I'm zero acknowledge in functions implementation ๐ช and he doesn't have serious video on YouTube about that ...
A video? There's this: https://youtu.be/p0Hw50QfDNk
Have you read through the function docs? https://appwrite.io/docs/functions
I'm watching
Hi, after watching I'm already 0.
I want solve problem posted below and soon implement payment system
Yes same issue here ...
What?
I need an example of how to use function
Like solution for this. After that, I'll be able to understand function implementation
In your case you might want to trigger an execution via event. The data that triggered the event would be in the event data variable.
Where else are you stuck?
I will create an exemple and share it here to analyze
I highly recommend starting your Appwrite function and playing around with it to really learn how it works
Red comments, how to solve
Recommended threads
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...