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.
Files changed (2) hide show
  1. package/index.js +2 -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 mongodb_admin(scope, config) {
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.mongodb_admin = mongodb_admin;
3998
+ exports.mongodbAdmin = mongodbAdmin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_mongodb",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "MongoDB数据库操作模块,提供简洁易用的API、缓存功能以及完整的Redis兼容接口,支持事件系统、事务和连接池管理",
5
5
  "main": "index.js",
6
6
  "scripts": {