Skip to content
Advertisement

Tag: firebase-realtime-database

Firebase how to break realtime database transaction with different state/message if different condition is true?

is it a good practice at all and if yes what is the correct way to break a transaction with different error states/messages for different situations? I have a transaction running over an ‘offer’ entry doing ‘seats’ reservation: I want to break it if one of the following 3 conditions is true and return state/message to the caller function. if

Advertisement