You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2018. It is now read-only.
It seems like there's an issue with how Model.Native works when using .find(). I was trying to figure out why a query I was running manually in MongoDB was returning 2310 records, but through Sails Native .find(), it was only returning 1000 records. When using the exact same query parameters but changing from Model.Native Collection.Find to just Sail's simpler Model.Find is all it took to bypass the issue. The count should be the same whether using Native or not. It's like an invisible limit(1000) is being applied, but even setting limit(0) doesn't resolve it for Native.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems like there's an issue with how Model.Native works when using .find(). I was trying to figure out why a query I was running manually in MongoDB was returning 2310 records, but through Sails Native .find(), it was only returning 1000 records. When using the exact same query parameters but changing from Model.Native Collection.Find to just Sail's simpler Model.Find is all it took to bypass the issue. The count should be the same whether using Native or not. It's like an invisible limit(1000) is being applied, but even setting limit(0) doesn't resolve it for Native.
The text was updated successfully, but these errors were encountered: