@rdyl/node-mysql 0.4.6 → 0.4.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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## 0.4.6 (2026-01-07)
1
+ ## 0.4.7 (2026-03-03)
2
2
 
3
3
 
4
4
 
package/dist/meta.js CHANGED
@@ -42,7 +42,9 @@ var helper_1 = require("./helper");
42
42
  var utils_1 = require("./utils");
43
43
  /**
44
44
  * @description
45
- * 使用$toMap 不返回的字段名前面需要加$
45
+ * 使用$toMap返回数据结构时: 不返回的字段名前面需要加$
46
+ * @description
47
+ * 当属性值为”$ID“时: 字段类型会自动推断成 BIGINT,toJson也将值会变成null,类似于占位符号
46
48
  */
47
49
  var MysqlDbSchema = /** @class */ (function () {
48
50
  function MysqlDbSchema($table, opts) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdyl/node-mysql",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",
package/types/meta.d.ts CHANGED
@@ -1,9 +1,11 @@
1
1
  /**
2
2
  * @description
3
- * 使用$toMap 不返回的字段名前面需要加$
3
+ * 使用$toMap返回数据结构时: 不返回的字段名前面需要加$
4
+ * @description
5
+ * 当属性值为”$ID“时: 字段类型会自动推断成 BIGINT,toJson也将值会变成null,类似于占位符号
4
6
  */
5
7
  export declare class MysqlDbSchema implements MysqlDbBaseType {
6
- readonly $table: string;
8
+ private $table;
7
9
  id: number | string;
8
10
  createAt: string;
9
11
  updateAt: string;