I\'m using the firestore of firebase and I want to iterate through the whole collection. Is there something like:
db.collection(\'something\').forEach((doc) =>
db.collection("cities").get().then(function(querySnapshot) { querySnapshot.forEach(function(doc) { // doc.data() is never undefined for query doc snapshots console.log(doc.id, " => ", doc.data()); }); });