I want to get the position of an item in the database, along with the data.
.ref("users")
.orderByChild("email")
.equalTo(myEmail)
.once("value", snapshot => {
console.log("Database Position", ???? )
}
Is there a value in the snapshot that I could use that indicates the position in the database (after ordering by email)? I don't want to do this on the client side since I have >1k users