0

I would like to update my database when a data is written.

Is it possible to do something like that in firebase's rules ?

"requests":{
      "$uid":{
        // On write, push id into /users/requestsId
        ".read":"auth != null",
        ".write":"root.child('users').child('requestsId').push($uid) && auth != null"
      }
    }

Thanks

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Charly berthet
  • 1,178
  • 5
  • 15
  • 31

0 Answers0