@query-doctor/core 0.0.4 → 0.0.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.
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/optimizer/genalgo.d.ts +1 -0
- package/dist/optimizer/genalgo.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1181,9 +1181,12 @@ var _IndexOptimizer = class _IndexOptimizer {
|
|
|
1181
1181
|
await this.db.transaction(async (tx) => {
|
|
1182
1182
|
await f?.(tx);
|
|
1183
1183
|
await this.statistics.restoreStats(tx);
|
|
1184
|
-
const flags = ["format json"
|
|
1184
|
+
const flags = ["format json"];
|
|
1185
1185
|
if (options && !options.genericPlan) {
|
|
1186
1186
|
flags.push("analyze");
|
|
1187
|
+
if (this.config.trace) {
|
|
1188
|
+
flags.push("trace");
|
|
1189
|
+
}
|
|
1187
1190
|
} else {
|
|
1188
1191
|
flags.push("generic_plan");
|
|
1189
1192
|
}
|