Abstract types

merge

inner

boolean

Changes the behavior of a set() call to only replace the values specified in its data argument. Fields omitted from the set() call remain untouched.

mergeFields

inner

(Array of string or Array of firebase.firestore.FieldPath)

Changes the behavior of set() calls to only replace the specified field paths. Any field path that is not specified is ignored and remains untouched.