firebase get all docs in 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());
});
});