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
I'm testing this wonderful library and the one thing I cannot find is an efficient method for selecting the minimum and maximum value of a field in a very large collection (millions of entries). I have an index on this field to speed things up and the values are unique.
Suggestions I found on the internet (such as db.collection.find().sort({age:-1}).limit(1) ) don't work because igoMongoCollection does not have a method "limit" etc.
Maybe I'm just overlooking something. Could you shine some light on this? Sorry if posting this as an "issue" is the wrong way, but I'm not aware of a different place to ask this question.
Kind regards,
Arthur Hoornweg
The text was updated successfully, but these errors were encountered:
Thank you for your kind comments. Yes, the library is not meant to be exhaustive but only an example for others to build upon. Please feel free to add and modify as you see fit. We have made these additions internally but have not applied them to the open source version yet along with many more and may do this in the future as well.
are you at Grijjy planning to backport the enhancements which you use internally back to the open source version in a short timeframe, or is it going to be somewhere in the remote future? My reason for asking: if I or anyone else implement new features they will certainly not be compatible with stuff you may have already. If you have something in the pipeline, it might be worthwhile for me and for others to wait just a little longer and then have a more complete framework to build upon instead of re-inventing the wheel.
Dear development team,
I'm testing this wonderful library and the one thing I cannot find is an efficient method for selecting the minimum and maximum value of a field in a very large collection (millions of entries). I have an index on this field to speed things up and the values are unique.
Suggestions I found on the internet (such as db.collection.find().sort({age:-1}).limit(1) ) don't work because igoMongoCollection does not have a method "limit" etc.
Maybe I'm just overlooking something. Could you shine some light on this? Sorry if posting this as an "issue" is the wrong way, but I'm not aware of a different place to ask this question.
Kind regards,
Arthur Hoornweg
The text was updated successfully, but these errors were encountered: