Sorry to revive this old thread, but when you ask in the mongo console, isn’t it going to give you the database version, and not the driver version? For the driver version, I think you’ll want to look in the npm-mongo package used by meteor. So for example for meteor 1.5.1, you could look here:
None of this packages exist in my project, so I’m bumping this question.
I looked throught the release notes and only found this reference:
v1.4.1.1, 2016-08-24
Update the version of our Node MongoDB driver to 2.2.8 to fix a bug in reconnection logic, leading to some update and remove commands being treated as inserts. #7594
Can I assume there was no update to the drivers since this date?
Shouldn’t this be easy to check directly on my machine?
Thanks!
EDIT: By the way, my real issue is knowing which MongoDB versions are supported by my current project (running Meteor 1.6.0.1).
meteor:PRIMARY> MongoInternals.NpmModules.mongodb.version
2018-02-21T11:36:23.955+0000 E QUERY [thread1] ReferenceError: MongoInternals is not defined :
Don’t get me wrong, this would be a fast fix, but there should be a simple way to check which driver I have (and probably there is, but I just can’t find the mongo package).