How to filter firebase array in ionic 3


#1

hello
how i can filter firebase array in ionic 3
i used this code to get content of firebase table

a

assets: FirebaseListObservable<any>;
  t:any;
   @Input() search: string = "";

  constructor(public navCtrl: NavController,public platform: Platform,private http: Http,private zone: NgZone,public angFire: AngularFire,public alert: AlertController) {
    this.assets = angFire.database.list('/sho/products');  
  }

i want for example show only in ngfor contents with age 25
assets.age=25


#2

Take a look of how to query firebase lists over here:

https://github.com/angular/angularfire2/blob/master/docs/4-querying-lists.md


#3

thanks you always help that mean alot to me