title: How to retrieve added doc data in Firestore?
body: <p>I have such code where I can get new inserted doc id:</p>
  
  <pre><code>db.collection("cities").add({
     name: "Tokyo",
     country: "Japan"
  })
  .then(function(docRef) {
     console.log("Document written with ID: ", docRef.id);
  })
  .catch(function(error) {
     console.error("Error adding document: ", error);
  });
  </code></pre>
  
  <p>Is it possible to get data from ref?</p>