0

my firestore architecture looks like this:

/customers/{customerid}/users/{randomuserid}

where the {customerid} and {randomuserid} is a random id generate by firestore.

the user document:

  • username = string
  • password = string

pseudo code: collection("customers")......where("username", "==", "user1234")

how can i now query all users?

thanks, Stefan

Dharmaraj
  • 47,845
  • 8
  • 52
  • 84
REST
  • 11

0 Answers0