title: Add multiple data to object for specific id in firebase using react native
body: <p>I have a firebase realtime database and this this the structure of it:</p>
  
  <p><a href="https://i.stack.imgur.com/ynyAa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ynyAa.png" alt="enter image description here"></a></p>
  
  <p>you can see there is only one user with "hgjfj" userName and I want to add another users in same queue object of each barber using react native</p>
  
  <p>this is the function of adding data:</p>
  
  <pre><code>NewBooking() {
          var queue = { userName: 'gfdgdfg', userPhone: 54535 }
        firebase.database().ref('Barbers/').push({
          queue: queue
        }).then((data) =&gt; {
          //success callback
          console.log('data ', data)
        }).catch((error) =&gt; {
          //error callback
          console.log('error ', error)
        })
    }
  </code></pre>
  
  <p>is there a way to get the generated id by firebase like get the LWC312750NY35f3YKEL and push new user on the queue of that id</p>