-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Angular:
2.0.1
Firebase:
3.4.0
AngularFire:
2.0.0.beta.4
posts
randomId
username
age
I want to be able to query by child and then instead of returning the entire object just return the property I need which is on the same level
subscribePostsAgeForUsername(username: string): Observable<string[]>{
return this.af.database.list('posts', {
query: {
orderByChild: 'username',
equalTo: username
}
});
}
Metadata
Metadata
Assignees
Labels
No labels