by abelsm · 5y ago · 0 comments
In this scenario, your collection is "purchases" and there's a "buyerId" field in a purchase document? And you want to get the email from buyerId?
If buyerId is a uid, you can do another query to get the user document from uid and get the email address from that. I may be misunderstanding the question.
No comments yet.