Open cthrax opened 1 week ago
Thanks for raising this! Let me take a look and report back!
I believe batching was not fully implemented and hence why we see this behavior of the type being MORE_RESULTS_AFTER_LIMIT
. Can update this issue w/ any updates as that tracking bug progresses, thanks!
[REQUIRED] Environment info
Using Google Cloud SDK: 482.0.0 with cloud-firestore-emulator: 1.19.7
firebase-tools:
Platform: Mac OS Sonoma 14.5 with an M2 processor
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
To reproduce:
gcloud emulators firestore start --host-port="0.0.0.0:7079" --database-mode=datastore-mode
[REQUIRED] Expected behavior
I would expect that
NO_MORE_RESULTS
is returned in the case that there are no more results[REQUIRED] Actual behavior
MORE_RESULTS_AFTER_LIMIT
is always returned when doing a NOT_EQUAL query that does include at least one result and on the first page