badmfck-api-server 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -69,6 +69,7 @@ export interface ITransaction {
|
|
69
69
|
}[];
|
70
70
|
}
|
71
71
|
export interface MysqlQueryFieldObject extends Record<string, string | number | boolean | null | undefined | {
|
72
|
+
name?: string | null;
|
72
73
|
value: string | number | boolean | null | undefined;
|
73
74
|
system?: boolean;
|
74
75
|
ignoreInInsert?: boolean;
|
@@ -398,7 +398,8 @@ class MysqlService extends BaseService_1.BaseService {
|
|
398
398
|
system: i.system,
|
399
399
|
ignoreInInsert: i.ignoreInInsert,
|
400
400
|
ignoreInUpdate: i.ignoreInUpdate,
|
401
|
-
useInReplace: i.useInReplace
|
401
|
+
useInReplace: i.useInReplace,
|
402
|
+
name: i.name
|
402
403
|
};
|
403
404
|
}
|
404
405
|
else
|
@@ -425,7 +426,7 @@ class MysqlService extends BaseService_1.BaseService {
|
|
425
426
|
};
|
426
427
|
}
|
427
428
|
fields.push({
|
428
|
-
name: i,
|
429
|
+
name: mo.name ?? i,
|
429
430
|
value: mo.value,
|
430
431
|
system: mo.system,
|
431
432
|
ignoreInInsert: mo.system,
|