(documentRef: any, field: any, value?: any, moreFieldsAndValues?: any)
| 200 | update<T extends DocumentData = DocumentData>(documentRef: DocumentReference<T>, data: Partial<{ [K in keyof T]: T[K] | FieldValue }>): Transaction; |
| 201 | update<T extends DocumentData = DocumentData, K extends keyof T = string>(documentRef: DocumentReference<T>, field: K | FieldPath, value: T[K], moreFieldsAndValues: any[]): Transaction; |
| 202 | update(documentRef: any, field: any, value?: any, moreFieldsAndValues?: any): Transaction { |
| 203 | const data = createDictionary(field, value, moreFieldsAndValues); |
| 204 | return Transaction.fromNative(this._native.updateDataForDocument(data as any, documentRef?.native)); |
| 205 | } |
| 206 | |
| 207 | set<T extends DocumentData = DocumentData>(documentRef: DocumentReference<T>, data: T, options?: SetOptions): Transaction { |
| 208 | let transaction; |
nothing calls this directly
no test coverage detected