firebase how to access doc from collection code example
Example: firebase get doc collection
db.collection("restaurants").doc("123").collection("reviews").get().then(querySnapshot => {
querySnapshot.forEach(doc => {
console.log(doc.id, " => ", doc.data());
});
});