發表文章

目前顯示的是 12月 3, 2018的文章

How to access sub collection in angular and firestore

圖片
up vote 0 down vote favorite I am trying to access a sub-collection inside a document using cloud firestore in angular but it isn't showing the sub-collections and only shows fields and its values Here is the code. I want to get subCollection names. this.afs.collection(`users/${this.user.uid}/Root`).doc('Folder').valueChanges().subscribe(item => { console.log(item); }); javascript angular typescript firebase google-cloud-firestore share | improve this question edited Nov 8 at 9:57 asked Nov 8 at 7:16