@nocobase/database 0.12.0-alpha.4 → 0.12.0-alpha.5
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.
|
@@ -146,7 +146,7 @@ class EagerLoadingTree {
|
|
|
146
146
|
};
|
|
147
147
|
const loadRecursive = /*#__PURE__*/function () {
|
|
148
148
|
var _ref = _asyncToGenerator(function* (node, ids) {
|
|
149
|
-
const modelPrimaryKey = node.model.primaryKeyAttribute;
|
|
149
|
+
const modelPrimaryKey = node.model.primaryKeyField || node.model.primaryKeyAttribute;
|
|
150
150
|
let instances = [];
|
|
151
151
|
// load instances from database
|
|
152
152
|
if (!node.parent) {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/database",
|
|
3
|
-
"version": "0.12.0-alpha.
|
|
3
|
+
"version": "0.12.0-alpha.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@nocobase/logger": "0.12.0-alpha.
|
|
10
|
-
"@nocobase/utils": "0.12.0-alpha.
|
|
9
|
+
"@nocobase/logger": "0.12.0-alpha.5",
|
|
10
|
+
"@nocobase/utils": "0.12.0-alpha.5",
|
|
11
11
|
"async-mutex": "^0.3.2",
|
|
12
12
|
"cron-parser": "4.4.0",
|
|
13
13
|
"dayjs": "^1.11.8",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
30
30
|
"directory": "packages/database"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "689cc16e83361c4d0b91907e0deac30bdb907692"
|
|
33
33
|
}
|