function associateQuery(collectionRef, queryFn = ref => ref) {
    const query = queryFn(collectionRef);
    const ref = collectionRef;
    return { query, ref };
}
/**
 * A utility methods for associating a collection reference with
 * a query.
 *
 * @param collectionRef - A collection reference to query
 * @param queryFn - The callback to create a query
 *
 * Example:
 * const { query, ref } = associateQuery(docRef.collection('items'), ref => {
 *  return ref.where('age', '<', 200);
 * });
 */
A utility methods for associating a collection reference with
a query.

@param collectionRef - A collection reference to query
@param queryFn - The callback to create a query


A utility methods for associating a collection reference with a query . @param collectionRef - A collection reference to query @param queryFn - The callback to create a query
function associateQuery(collectionRef, queryFn = ref => ref) {
    const query = queryFn(collectionRef);
    const ref = collectionRef;
    return { query, ref };
}
function associateQuery ( collectionRef , queryFn = ref => ref ) { const query = queryFn ( collectionRef ) ; const ref = collectionRef ; return { query , ref } ; }
A utility methods for associating a collection reference with
 a query.
A utility methods for associating a collection reference with a query .