Ad

Unable To Use CollectionGroup Query In AngularFirestore

I am using AngularFirestore and Ionic 3. I want to use the collectionGroup query feature of Firebase but I am not getting this option either by importing AngularFirestore or doing import * as firebase from 'firebase/app';

this.afs.collectionGroup() is not available.

Ad

Answer

The AngularFire2 documentation shows how to use Collection Group Queries.

If that doesn't work for you, ensure you're using AngularFire2 version 5.2 or later.

Ad
source: stackoverflow.com
Ad