@@ -92,7 +92,7 @@ NS_SWIFT_NAME(DocumentReference)
92
92
* document.
93
93
* @param merge Whether to merge the provided data into any existing document. If enabled,
94
94
* all omitted fields remain untouched. If your input sets any field to an empty dictionary, any
95
- * nested field at this location is overwritten.
95
+ * nested field is overwritten.
96
96
*/
97
97
- (void )setData:(NSDictionary <NSString *, id > *)documentData merge:(BOOL )merge;
98
98
@@ -109,8 +109,7 @@ NS_SWIFT_NAME(DocumentReference)
109
109
* to be written.
110
110
* @param mergeFields An `NSArray` that contains a list of `NSString` or `FIRFieldPath` elements
111
111
* specifying which fields to merge. Fields can contain dots to reference nested fields within
112
- * the document. If your input sets any field to an empty dictionary, any nested field at this
113
- * location is overwritten.
112
+ * the document. If your input sets any field to an empty dictionary, any nested field is overwritten.
114
113
*/
115
114
- (void )setData:(NSDictionary <NSString *, id > *)documentData mergeFields:(NSArray <id > *)mergeFields;
116
115
@@ -134,7 +133,8 @@ NS_SWIFT_NAME(DocumentReference)
134
133
*
135
134
* @param documentData An `NSDictionary` containing the fields that make up the document
136
135
* to be written.
137
- * @param merge Whether to merge the provided data into any existing document.
136
+ * @param merge Whether to merge the provided data into any existing document. If your input sets
137
+ * any field to an empty dictionary, any nested field is overwritten.
138
138
* @param completion A block to execute once the document has been successfully written to the
139
139
* server. This block will not be called while the client is offline, though local
140
140
* changes will be visible immediately.
@@ -156,7 +156,8 @@ NS_SWIFT_NAME(DocumentReference)
156
156
* to be written.
157
157
* @param mergeFields An `NSArray` that contains a list of `NSString` or `FIRFieldPath` elements
158
158
* specifying which fields to merge. Fields can contain dots to reference nested fields within
159
- * the document.
159
+ * the document. If your input sets any field to an empty dictionary, any nested field is
160
+ * overwritten.
160
161
* @param completion A block to execute once the document has been successfully written to the
161
162
* server. This block will not be called while the client is offline, though local
162
163
* changes will be visible immediately.
0 commit comments