title: How to retrieve certain childByAutoId() key
body: <p>I have looked around for a while, with no luck. I need to get the string value of a certain dictionary key in firebase.</p>
  
  <p>If you look at the image below,I need that key on top, and need to set it equal to a string, that I can segue to other viewcontrollers so when a user wants to make a post under the sharers for example, I go into the right value based on the key, then to sharers, where I can add values. Thanks, also I do not need all values, just once I have observedWithSingleEvent, I need to get the key of each page or dictionary.</p>
  
  <p><a href="https://i.stack.imgur.com/2udaC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2udaC.png" alt="enter image description here"></a></p>
  
  <p>my code:</p>
  
  <pre><code>    let ref = FIRDatabase.database().reference()
      ref.child("Notes").queryOrderedByKey().observeSingleEvent(of: .value, with: { snapshot in
          if let pagers = snapshot.value as? [String : AnyObject] {
             let numb = snapshot.key //what I want
              for (_, val) in pagers {
                  if let useri = val["postUsername"] as? String {
                      if useri == FIRAuth.auth()?.currentUser?.uid {
  
                          let bindfl = Page()
                          if let title = val["title"] as? String, let descript = val["description"] as? String,
                              let sharers = val["sharers"] as? [String], let poster = val["postUsername"] as? String, let setter = val["setter"] as? String, let creatorName = val["creatorName"] as? String {
                              bindfl.title = title
                              bindfl.descriptions = descript
                              bindfl.setter = setter
                              bindfl.sharers = sharers
                              bindfl.usernameOfBinder = poster
                              bindfl.creatorName = creatorName
                              bindfl.theBit = numb
  
                              self.pages.append(bindfl)
  </code></pre>