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

Function deleteThemAll

src/compat/firestore/utils.spec.ts:34–37  ·  view source on GitHub ↗
(names, ref)

Source from the content-addressed store, hash-verified

32};
33
34export function deleteThemAll(names, ref) {
35 const promises = names.map(name => ref.doc(name).delete());
36 return Promise.all(promises);
37}
38
39export function delayUpdate<T>(collection: AngularFirestoreCollection<T>|firebase.firestore.CollectionReference, path, data, delay = 250) {
40 setTimeout(() => {

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.65
docMethod · 0.45

Tested by

no test coverage detected