I am trying to send multiple requests to Firestore at the same time. I need to retrieve multiple objects at a time, the requests are not currently possible with one Query
, because they are at separate locations and Firestore does not yet have querying multiple locations or an equivalent to the IN
operator in SQL
.
I know from this question, Speed up fetching posts for my social network app by using query instead of observing a single event repeatedly that Firebase can pipeline queries together because it uses one connection, but I cannot find any content on how to do so in android.
So, how do I properly pipeline Firestore requests in Android?