Rank 1: Thread
I implemented a simple feature where a user can track how much money he saved by taking a bus instead of driving with car.
Currently, each time he drives with the bus, an amount is added to his savings.
However there is no history of how that came to be.
I would like to add this history.
My question is, should do a second request on the client side be done to add an entry into the history document?
Or should I write an appwrite function that reacts to updates on the savings document and adds an entry to the history document?