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