MCPcopy Index your code
hub / github.com/angular/angularfire / associateQuery

Function associateQuery

src/compat/firestore/firestore.ts:57–61  ·  view source on GitHub ↗
(collectionRef: CollectionReference<T>, queryFn = ref => ref)

Source from the content-addressed store, hash-verified

55 * });
56 */
57export function associateQuery<T>(collectionRef: CollectionReference<T>, queryFn = ref => ref): AssociatedReference<T> {
58 const query = queryFn(collectionRef);
59 const ref = collectionRef;
60 return { query, ref };
61}
62
63/**
64 * AngularFirestore Service

Callers 2

collectionMethod · 0.90
collectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected