I have seen in many places that to access nested documents and collections the pattern is something like db.collection("users").doc("frank").collection("pets")
etc.
This makes a lot of sense to me and is easy to understand. The trouble is, my (React) project is set up in the Web version 9 way. I've combed the docs over and over and can't see anything that goes beyond referencing X doc in Y collection.
I need to reference Users > uid > someCollection
But in the Web Version 9 way I can only do: doc(db, "users", uid)
How do I go deeper?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…