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