MCPcopy Index your code
hub / github.com/NativeScript/firebase / update

Method update

packages/firebase-firestore/index.d.ts:205–205  ·  view source on GitHub ↗
(documentRef: IDocumentReference<T>, data: Partial<{ [K in keyof T]: T[K] | IFieldValue }>)

Source from the content-addressed store, hash-verified

203 set<T extends DocumentData = DocumentData>(documentRef: IDocumentReference<T>, data: T, options?: SetOptions): IWriteBatch;
204
205 update<T extends DocumentData = DocumentData>(documentRef: IDocumentReference<T>, data: Partial<{ [K in keyof T]: T[K] | IFieldValue }>): IWriteBatch;
206
207 update<T extends DocumentData = DocumentData, K extends keyof T = string>(documentRef: IDocumentReference<T>, field: K | IFieldPath, value: T[K] | IFieldValue, moreFieldAndValues: any[]): IWriteBatch;
208}

Callers 4

updateMethod · 0.65
updateMethod · 0.65
updateMethod · 0.65
updateMethod · 0.65

Implementers 3

WriteBatchpackages/firebase-firestore/index.andr
WriteBatchpackages/firebase-firestore/index.ios.
WriteBatchpackages/firebase-firestore/index.d.ts

Calls

no outgoing calls

Tested by

no test coverage detected