In firebase, can we update a field due to its value without reading it (without having a local copy)? For example, I have a doc
with points
field which is equal to 5
. I want to add 1
to the points
field. Is there a way to update it with updateDoc(doc(db, ... ))
without reading first with getDoc
?