My firebase database is shown above.
I am able to modify the value of isAdminOnline using the following code:
DatabaseReference mFirebaseDatabaseReference; mFirebaseDatabaseReference = FirebaseDatabase.getInstance().getReference(); mFirebaseDatabaseReference.child("*isAdminOnline*").setValue("yes"); What is the shortest code to read the value of isAdminOnline without having to loop thru the entire database?
https://stackoverflow.com/questions/65588805/firebase-database-how-to-read-value-of-a-single-node-without-looping-through-a January 06, 2021 at 09:06AM
没有评论:
发表评论