Well, I'm trying to develop an app with ionic 3 and Firebase. But I'm having problems. You are bringing all requests to all users (getAll). I wanted to know the correct way for me to bring only the user requests themselves;
getAll() {
return this.db.list('pedidos', ref => ref.orderByChild('name'))
.snapshotChanges()
.map(changes => {
return changes.map(c => ({ key: c.payload.key, ...c.payload.val() }));
})
}