Closed
Description
Is it possible to get all results with the same query, so I can use it for 'large', 'small' and all values?
const subject = new Subject(); // import {Subject} from 'rxjs/Subject';
const queryObservable = af.database.list('/items', {
query: {
orderByChild: 'size',
equalTo: subject
}
});
subject.next('large'); //only large
subject.next('small'); // only small
subject.next(''); // should return both, but returns nothing
Metadata
Metadata
Assignees
Labels
No labels