Ionic 3 firebase filter query not working


#1

search(name: string) {
const query = this.database.list(’/contact-list/’, {
query: {
orderByChild: ‘name’,
startAt: name
}
})
return query.take(1);
};


#2

have you solved it?
Now I am facing the problem which is generating the WHERE clause in Firebase.
How can I convert this SQL query "SELECT * FROM customer-list WHERE key=“xxxxxxx” "; into Firebase Query.

PLEASE HELP!!! (I am using Angular2Fire)