[firestore][ios] Fix missing limit functionality on iOS
This commit is contained in:
parent
bd4dc28391
commit
402c1b05c5
|
@ -128,6 +128,9 @@ queryListenOptions:(NSDictionary *) queryListenOptions {
|
|||
if (_options[@"endBefore"]) {
|
||||
query = [query queryEndingBeforeValues:_options[@"endBefore"]];
|
||||
}
|
||||
if (_options[@"limit"]) {
|
||||
query = [query queryLimitedTo:_options[@"limit"]];
|
||||
}
|
||||
if (_options[@"offset"]) {
|
||||
// iOS doesn't support offset
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue