Fetching All Collections In Angular Firestore?
I want to get all collection names in my project. Is it posible to get all collection names from angular Firebase project.
I saw this question and it not provide answer for angular firestore. Fetching all collections in Firestore
so this is not a duplicate question. thanks
Answer
As explained in the SO question/answer you refer to in your question (Fetching all collections in Firestore) there is no client API (Android, iOS, web) to list collections (top collections or sub-collections).
Since, if I am not mistaking, with angular (and angularfire2) you are building a "client" app (that use the web API under the hood) you will not find any API for that.
You may maintain a list of collections in specific Firestore document(s), i.e. when you create a collection programmatically you update this list.
Related Questions
- → Make a Laravel collection into angular array (octobercms)
- → Laravel {!! Form::open() !!} doesn't work within AngularJS
- → Angularjs not working inside laravel form
- → Analysis of Flux implementations
- → how to write react component to construct HTML DOM
- → angular ng-repeat and images in a row
- → Conditional BG Color on AngularJS
- → Should I 'use strict' for every single javascript function I write?
- → getting the correct record in Angular with a json feed and passed data
- → "Undefined is not a function" at .toBe fucntion
- → angularjs data binding issue
- → Angular / JavaScript auto hydrate an instance
- → Convert generic text string in json object into valid url using Angular