constructor(
private afs: AngularFirestore,
) {}
dbAdd(){
this.afs.collection()
this.afs.firestore.collection()
}
What is the difference between these two (this.afs.collection() & this.afs.firestore.collection()) ? And when to use each of them? Because during transaction and batch we have to use this.db_cloud.firestore.collection() and while reading data use this.db_cloud.collection()