doomiwork 4.0.3 → 4.0.4

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.
@@ -29,6 +29,14 @@ class Database {
29
29
  escape(value) {
30
30
  return mysql.escape(value);
31
31
  }
32
+ /**
33
+ * 给字段名添加``
34
+ * @param {*} value
35
+ * @returns
36
+ */
37
+ escapeId(value){
38
+ return mysql.escapeId(value)
39
+ }
32
40
  /**
33
41
  * 记录错误日志
34
42
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doomiwork",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "doomisoft nodejs web framework",
5
5
  "main": "index.js",
6
6
  "scripts": {