angular - Simple search query in Angular2/4 with Firebase -


i have project in angular4, database i'm using firebase. have table of users , need search bar filters users according name. in sql like '%name%', don't see similar options firebase. how can make simple search bar users? thanks.

this code i'm using retrieve data database:

import { angularfiredatabase, firebaselistobservable, firebaseobjectobservable } 'angularfire2/database'; export class usercomponent implements oninit {     constructor(public af: angularfiredatabase) {          this.users = af.list('/users', {         query: {             limittolast: 15             orderbychild: 'name',             equalto: "i don't know put here"         }         });     } } 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -