I am new to firebase via Android(Java) and was wondering how to check if a user already exists in a database of the following format:
gdb-2fbgg{
users{
Michael{
age: 20
height: 150
name: Michael
}
Bob{
age: 20
height: 150
name: Bob
}
}
}
For example upon a button press, I would like to check the firebase to see if the username "Michael" exists ( first level michael - not "michael" within object michael.
Thank you
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…