I am using Firebase Database for my Android application and cloud functions. As Firebase stores data in JSON format. Each user has some unique id which assigns to user.
I want to know if there is any way to get multiple users data on a single request. If you see below code it will fetch data only of passed user id.
db
.ref("/users/" + request.query.userId)
.once("value")
.then(function(snapshot) {
I have 10 user ids of which I want to get data on a single request in nodejs. What is the way to get this ?