In firestore we have added multiple fields without specifying documentID (auto ID). I need to update particular field value, for example:
- I'm having list of person details in my collection, which contains name, age and gender
- I need to update particular field value where name = kavin
here is my tried code
self.DBRef.collection("users").whereField("name", isEqualTo: "kavin")
how to update this field value