Is there a way to implement logic from Firebase side instead of the client side?
The question is because I want to implement an auto-increment counter when sending messages to Firebase Database, I know that I can use Transactions but sometimes the counter doesn't update properly. That´s why I want to know if there's a way to implement that logic inside Firebase so that it updates the counter as soon as the message arrives to Firebase Database.