v6.1.1
Added
- Support for passing through low level connection options to the node-mongodb-native driver. You can review the full list of options here.
import * as Iridium from 'iridium';
var core = new Iridium.Core("mongodb://localhost/test", {
options: {
server: {
socketOptions: {
connectionTimeoutMS: 10000
}
}
}
});
This release is backwards compatible with most code, with the exception of those users who are already making use of an options
field in their connection settings for MongoDB.