File tree 1 file changed +4
-2
lines changed
packages/firestore/src/lite-api
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -93,10 +93,12 @@ export type UpdateData<T> = T extends Primitive
93
93
*
94
94
* @param merge - Changes the behavior of a `setDoc()` call to only replace the
95
95
* values specified in its data argument. Fields omitted from the `setDoc()`
96
- * call remain untouched.
96
+ * call remain untouched. If your input sets any field to an empty map, all
97
+ * nested fields are overwritten.
97
98
* @param mergeFields - Changes the behavior of `setDoc()` calls to only replace
98
99
* the specified field paths. Any field path that is not specified is ignored
99
- * and remains untouched.
100
+ * and remains untouched. If your input sets any field to an empty map, all
101
+ * nested fields are overwritten.
100
102
*/
101
103
export type SetOptions =
102
104
| {
You can’t perform that action at this time.
0 commit comments