I have a field which indicates the number of transactions. I would like to increment it by 1 as soon as a transaction occurs. I could\'nt find any method to dir
1
You should write a cloud function that listens to the transaction, then increase the index.
https://firebase.google.com/docs/functions/