Empty Array of Docs with non zero amount of totalDocs
insivika opened this issue · 1 comments
insivika commented
Describe the bug
I'm using a $geo query that looks like this
query {
status: 'Active',
geometry: { '$geoWithin': { '$geometry': [Object] } }
}
The query returns an empty array for docs
but the number 7 for totalDocs
. This is inconsistent as I'd expect 0 if an empty array is returned.
To Reproduce
It's a private repo
Expected behavior
I'd expect the length of the array to match the totalDocs
Screenshots
Desktop (please complete the following information):
- OS: MacOs Catalina 10.15.7
- Browser: Chrome & Firefox
- Version: 1.3.11
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context