.github/actions/statistics-chart-action/node_modules/@google-cloud/firestore/build/src/index.js
/**
     * Creates and returns a new Query that includes all documents in the
     * database that are contained in a collection or subcollection with the
     * given collectionId.
     *
     * @param {string} collectionId Identifies the collections to query over.
     * Every collection or subcollection with this ID as the last segment of its
     * path will be included. Cannot contain a slash.
     * @returns {Query} The created Query.
     *
     * @example
     * let docA = firestore.doc('mygroup/docA').set({foo: 'bar'});
     * let docB = firestore.doc('abc/def/mygroup/docB').set({foo: 'bar'});
     *
     * Promise.all([docA, docB]).then(() => {
     *    let query = firestore.collectionGroup('mygroup');
     *    query = query.where('foo', '==', 'bar');
     *    return query.get().then(snapshot => {
     *       console.log(`Found ${snapshot.size} documents.`);
     *    });
     * });
     */
Creates and returns a new Query that includes all documents in the
database that are contained in a collection or subcollection with the
given collectionId.

@param {string} collectionId Identifies the collections to query over.
Every collection or subcollection with this ID as the last segment of its
path will be included. Cannot contain a slash.
@returns {Query} The created Query.




Creates and returns a new Query that includes all documents in the database that are contained in a collection or subcollection with the given collectionId . @param { string } collectionId Identifies the collections to query over . Every collection or subcollection with this ID as the last segment of its path will be included . Cannot contain a slash . @returns { Query } The created Query .
collectionGroup(collectionId) {
        if (collectionId.indexOf('/') !== -1) {
            throw new Error(`Invalid collectionId '${collectionId}'. Collection IDs must not contain '/'.`);
        }
        return new reference_1.Query(this, reference_1.QueryOptions.forCollectionGroupQuery(collectionId));
    }
collectionGroup ( collectionId ) { if ( collectionId . indexOf ( '/' ) !== - 1 ) { throw new Error ( ` ${ collectionId } ` ) ; } return new reference_1 . Query ( this , reference_1 . QueryOptions . forCollectionGroupQuery ( collectionId ) ) ; }
Creates and returns a new Query that includes all documents in the
 database that are contained in a collection or subcollection with the
 given collectionId.
Creates and returns a new Query that includes all documents in the database that are contained in a collection or subcollection with the given collectionId .