MCPcopy
hub / github.com/angular/angularfire / set

Function set

src/compat/database/object/create-reference.ts:17–17  ·  view source on GitHub ↗
(data: T)

Source from the content-addressed store, hash-verified

15 },
16 update(data: Partial<T>) { return query.ref.update(data as any) as Promise<void>; },
17 set(data: T) { return query.ref.set(data) as Promise<void>; },
18 remove() { return query.ref.remove() as Promise<void>; },
19 valueChanges<T>() {
20 const snapshotChanges$ = createObjectSnapshotChanges(query, afDatabase.schedulers.outsideAngular)();

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected