@nocobase/database 1.4.0-alpha.20241105053324 → 1.4.0-alpha.20241105230315
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/database.js +3 -0
- package/package.json +4 -4
package/lib/database.js
CHANGED
|
@@ -160,6 +160,9 @@ const _Database = class _Database extends import_events.EventEmitter {
|
|
|
160
160
|
return val;
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
|
+
if (options.logging && process.env["DB_SQL_BENCHMARK"] == "true") {
|
|
164
|
+
opts.benchmark = true;
|
|
165
|
+
}
|
|
163
166
|
this.options = opts;
|
|
164
167
|
this.logger.debug(
|
|
165
168
|
`create database instance: ${(0, import_safe_json_stringify.default)(
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/database",
|
|
3
|
-
"version": "1.4.0-alpha.
|
|
3
|
+
"version": "1.4.0-alpha.20241105230315",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
7
7
|
"license": "AGPL-3.0",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@nocobase/logger": "1.4.0-alpha.
|
|
10
|
-
"@nocobase/utils": "1.4.0-alpha.
|
|
9
|
+
"@nocobase/logger": "1.4.0-alpha.20241105230315",
|
|
10
|
+
"@nocobase/utils": "1.4.0-alpha.20241105230315",
|
|
11
11
|
"async-mutex": "^0.3.2",
|
|
12
12
|
"chalk": "^4.1.1",
|
|
13
13
|
"cron-parser": "4.4.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
39
39
|
"directory": "packages/database"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "45a0f247ae2dab0d1c9d200cb8bfedae3fe49535"
|
|
42
42
|
}
|