mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
10 lines
389 B
JavaScript
10 lines
389 B
JavaScript
/**
|
|
* @summary Allows for user specified connection options
|
|
* @example http://mongodb.github.io/node-mongodb-native/3.0/reference/connecting/connection-settings/
|
|
* @locus Server
|
|
* @param {Object} options User specified Mongo connection options
|
|
*/
|
|
Mongo.setConnectionOptions = function setConnectionOptions (options) {
|
|
check(options, Object);
|
|
Mongo._connectionOptions = options;
|
|
}; |