Is there a way to update data inside documents without specifying the document ID,
But while going thorugh stackoverflow I saw this code
firebase.firestore().collection("users")
.where("name", "==", "Daniel")
.get(function(querySnapshot) {
querySnapshot.forEach(function(document) {
document.ref.update({ ... });
});
});
Can someone please translate this to flutter code(Dart) please. It's a query to norrow down the document search without having to put in the document ID. I think.