title: How to retrieve Node names in Firebase without iterating through the snapshot
body: <p>My data looks like below,</p>
  
  <pre><code>"USERS": { "JACK": { "FirstName":"Jack", "LastName":"Wil" }, "JAY": { "FirstName":"Jay", "LastName":"Martin" } }
  </code></pre>
  
  <p>I'm writing a HTTPS triggered cloud function that first sends Node names (JACK, JAY) and then based on selection, sends details.</p>
  
  <p>For sending the Node names, I'm just wondering if there is any way/function to get all the Node names under a Child without iterating through the snapshot and collecting the names using <code>'.key'</code></p>
  
  <p>I have gone through the below posts, but they discuss the iteration logic. So posting a new question.</p>
  
  <p>Getting node names from Firebase database based on emailId match
  <a href="https://stackoverflow.com/questions/41718302/getting-node-names-from-firebase-database-based-on-emailid-match">Getting node names from Firebase database based on emailId match</a></p>