dbgate-datalib 6.7.2 → 6.8.0
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/lib/DataReplicator.d.ts +1 -0
- package/lib/DataReplicator.js +6 -1
- package/package.json +5 -5
package/lib/DataReplicator.d.ts
CHANGED
package/lib/DataReplicator.js
CHANGED
|
@@ -113,7 +113,12 @@ class ReplicatorItemHolder {
|
|
|
113
113
|
return res;
|
|
114
114
|
}
|
|
115
115
|
createUpdateObject(chunk) {
|
|
116
|
-
const res = (0, omit_1.default)((0, pick_1.default)(chunk, this.table.columns.map(x => x.columnName)), [
|
|
116
|
+
const res = (0, omit_1.default)((0, pick_1.default)(chunk, this.table.columns.map(x => x.columnName)), [
|
|
117
|
+
this.autoColumn,
|
|
118
|
+
...this.backReferences.map(x => x.columnName),
|
|
119
|
+
...this.references.map(x => x.columnName),
|
|
120
|
+
...(this.item.skipUpdateColumns || []),
|
|
121
|
+
]);
|
|
117
122
|
return res;
|
|
118
123
|
}
|
|
119
124
|
// returns list of columns that are weak references and are not resolved
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "6.
|
|
2
|
+
"version": "6.8.0",
|
|
3
3
|
"name": "dbgate-datalib",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"typings": "lib/index.d.ts",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"date-fns": "^4.1.0",
|
|
22
|
-
"dbgate-filterparser": "^6.
|
|
23
|
-
"dbgate-sqltree": "^6.
|
|
24
|
-
"dbgate-tools": "^6.
|
|
22
|
+
"dbgate-filterparser": "^6.8.0",
|
|
23
|
+
"dbgate-sqltree": "^6.8.0",
|
|
24
|
+
"dbgate-tools": "^6.8.0",
|
|
25
25
|
"uuid": "^3.4.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^13.7.0",
|
|
29
|
-
"dbgate-types": "^6.
|
|
29
|
+
"dbgate-types": "^6.8.0",
|
|
30
30
|
"jest": "^28.1.3",
|
|
31
31
|
"ts-jest": "^28.0.7",
|
|
32
32
|
"typescript": "^4.4.3"
|