(documentRef: any, field: any, value?: any, moreFieldsAndValues?: any)
| 1195 | update<T extends DocumentData = DocumentData>(documentRef: DocumentReference<T>, data: Partial<{ [K in keyof T]: T[K] | FieldValue }>): WriteBatch; |
| 1196 | update<T extends DocumentData = DocumentData, K extends keyof T = string>(documentRef: DocumentReference<T>, field: K | FieldPath, value: FieldValue | T[K], moreFieldAndValues: any[]): WriteBatch; |
| 1197 | update(documentRef: any, field: any, value?: any, moreFieldsAndValues?: any): WriteBatch { |
| 1198 | const data = createDictionary(field, value, moreFieldsAndValues); |
| 1199 | return WriteBatch.fromNative(this._native.updateDataForDocument(data as any, documentRef?.native)); |
| 1200 | } |
| 1201 | |
| 1202 | get native() { |
| 1203 | return this._native; |
nothing calls this directly
no test coverage detected