title: How to get a child's data when it has been pushed?
body: <p>I am using the &quot;push()&quot; function to store objects into my firebase database and since it stores data with unique keys I can't change the stored objects values using what's mentionned in the documentation:</p>
  <pre><code>myRef.child(&quot;child name&quot;).setValue(model);
  </code></pre>
  <p>because I simply don't know the key. I wan wondering is there an other way to modify the data of firebase database.</p>
  <p>I want to add a new child called &quot;conversations&quot; to the users and programmatically add childs to him .</p>
  <p>and this is the databse structure:</p>
  <p><a href="https://i.stack.imgur.com/V69eQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V69eQ.png" alt="enter image description here" /></a></p>