0

Just a quick message to ask you if you know how to do a runTransaction() operation at two different locations in a Firebase Database?
Indeed, I have got a View Counter that needs to be updated at two different siblings Nodes.
I have read this post, but as the Author pointed out, this is very inefficient : Create a transaction to update multiple places in Firebase Database

Cheers,

Andy

Community
  • 1
  • 1
Andy Strife
  • 729
  • 1
  • 8
  • 27

1 Answers1

1

A transaction read-and-updates a single location in the database. There is no support for multi-location transactions at the moment.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
  • Thanks Frank !! Hopefully something to come in a near Future. PS: I Love your #AskFirebase videos, keep up with the great work !! – Andy Strife Mar 13 '17 at 23:34