We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d71b42d commit d39e0baCopy full SHA for d39e0ba
docs/rtdb/querying-lists.md
@@ -56,7 +56,7 @@ When we call [`switchMap` on the Subject](https://www.learnrxjs.io/operators/tra
56
```ts
57
const size$ = new Subject<string>();
58
const queryObservable = size$.switchMap(size =>
59
- db.list('/items', ref => ref.orderByChild('size').equalTo(size)).valueChanges();
+ db.list('/items', ref => ref.orderByChild('size').equalTo(size)).valueChanges()
60
);
61
62
// subscribe to changes
@@ -118,7 +118,7 @@ export class AppComponent {
118
this.items$ = this.size$.switchMap(size =>
119
db.list('/items', ref =>
120
size ? ref.orderByChild('size').equalTo(size) : ref
121
- ).snapshotChanges();
+ ).snapshotChanges()
122
123
}
124
filterBy(size: string|null) {
0 commit comments