mm_mongodb 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3973,7 +3973,7 @@ if (!$.pool.mongoDB) {
|
|
|
3973
3973
|
* @param {Object} config 配置参数
|
|
3974
3974
|
* @return {Object} 返回一个MongoDB类实例
|
|
3975
3975
|
*/
|
|
3976
|
-
function
|
|
3976
|
+
function mongodbAdmin(scope, config) {
|
|
3977
3977
|
if (!scope) {
|
|
3978
3978
|
scope = 'sys';
|
|
3979
3979
|
}
|
|
@@ -3995,4 +3995,4 @@ function mongodb_admin(scope, config) {
|
|
|
3995
3995
|
/**
|
|
3996
3996
|
* @module 导出MongoDB管理器
|
|
3997
3997
|
*/
|
|
3998
|
-
exports.
|
|
3998
|
+
exports.mongodbAdmin = mongodbAdmin;
|