title: How do I query for objects that have a specific userid in firebase
body: <p>I have a firebase object called Calculations. Each object has a UserId so that I can later of the calculations created by a user. I can't seem to get the query to work and I'm not sure what I'm doing wrong. </p>
  
  <pre><code>let calculationsDB = Database.database().reference().child("Calculations").queryEqual(toValue: Auth.auth().currentUser!.uid, childKey: "UserId")
  
      //.child("UserId").queryEqual(toValue: Auth.auth().currentUser!.uid)
  calculationsDB.observe(.childAdded) { (snapshot) in
      let snapshotValue = snapshot.value as! Dictionary&lt;String, Any&gt;
      self.stocksArray.append(Calculation(calDictionary: snapshotValue))
      self.configurTableView()
      self.mainTableView.reloadData()
  
  }
  </code></pre>