mm_mysql 2.2.6 → 2.2.7

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 +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -40,6 +40,10 @@ class Mysql extends Base {
40
40
  this._pool = null;
41
41
  this._connection = null;
42
42
  this._usePool = this.config.connection_limit > 1;
43
+ // 错误信息
44
+ this.error = null;
45
+ // 最近执行的SQL语句
46
+ this.sql = '';
43
47
  }
44
48
  }
45
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_mysql",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "这是超级美眉mysql帮助函数模块,用于便捷操作mysql,使用await方式,可以避免嵌套函数",
5
5
  "main": "index.js",
6
6
  "dependencies": {