Well, I get an array of keys, which I use to search the firebase:
addprd(a:string){
this.prdarray.push(a);
}
After adding the keys I want to use in the search I use the following medoto:
queryProd(as:string){
const prdN :Observable<any[]>= this.db.list('/Produto/${as}').valueChanges();
return prdN;
}
Returning an observable from this key, how do I make a "for" and store an array of results to display in my HTML?