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
Not sure if this is a mongoskin or mongodb problem, but as I'm using mongoskin it might be helpful for others as I couldn't find a reference to this.
Had a server running Mongo 2.6 and an index was failing, found out we had to upgrade to 3.2 to get the index to work properly. Did the upgrade, and we then had to upgrade the drivers.
We're running these versions now:
"mongodb": "^2.0.55",
"mongoskin": "^2.0.3",
After the upgrade, a binding we had that uses cursor.count stopped functioning properly.
// add false before cursor callbackcursor.count(false,function(countErr,countRes){// ...});
As far as I can tell this should be the default, even after the upgrade, but for some reason this call is coming back with a true value when left undefined for applySkipLimit
My concern is that this is may be the wrong way to override applySkipLimit and might later become deprecated or invalid.
Any thoughts? Is this a MongoDB Driver change or MongoSkin?
The text was updated successfully, but these errors were encountered:
Not sure if this is a mongoskin or mongodb problem, but as I'm using mongoskin it might be helpful for others as I couldn't find a reference to this.
Had a server running Mongo 2.6 and an index was failing, found out we had to upgrade to 3.2 to get the index to work properly. Did the upgrade, and we then had to upgrade the drivers.
We're running these versions now:
After the upgrade, a binding we had that uses cursor.count stopped functioning properly.
The original code:
The fix:
As far as I can tell this should be the default, even after the upgrade, but for some reason this call is coming back with a true value when left undefined for
applySkipLimit
My concern is that this is may be the wrong way to override
applySkipLimit
and might later become deprecated or invalid.Any thoughts? Is this a MongoDB Driver change or MongoSkin?
The text was updated successfully, but these errors were encountered: