Zum Beispiel - Wie bekomme ich den Knoten -L1BchvA8NaQ9Yh7CjS_
welcher entspricht email = [email protected]
? wenn die Datenbank sieht aus wieWie erhalten Sie den Knoten, der ein bestimmtes Attribut in Firebase enthält?
{
"-L1BchvA8NaQ9Yh7CjS_" : {
"createdAt" : 1514187972592,
"displayName" : "tom cruise",
"email" : "[email protected]",
"firstName" : "tom",
"lastName" : "cruise",
"profileLink" : "https://reactjs.org/logo-og.png",
"status" : "happy christmas"
},
"-L1CcUEBOECrJJozlHJv" : {
"createdAt" : 1514204689673,
"displayName" : "Robert John Downey Jr",
"email" : "[email protected]",
"firstName" : "Rober John",
"lastName" : "Downey Jr",
"profileLink" : "https://reactjs.org/logo-og.png",
"status" : "happy christmas"
},
}
Edit: -
ich react-native.js
verwende.
Dank für die Bearbeitung @rushi –