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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...