@query-doctor/core 0.1.4 → 0.1.6

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.js CHANGED
@@ -1058,7 +1058,7 @@ var _IndexOptimizer = class _IndexOptimizer {
1058
1058
  if (baseCost === 0) {
1059
1059
  return {
1060
1060
  kind: "zero_cost_plan",
1061
- explainPlan: baseExplain
1061
+ explainPlan: baseExplain.Plan
1062
1062
  };
1063
1063
  }
1064
1064
  const toCreate = this.indexesToCreate(indexes);
@@ -1099,8 +1099,8 @@ var _IndexOptimizer = class _IndexOptimizer {
1099
1099
  newIndexes: finalIndexes.newIndexes,
1100
1100
  existingIndexes: baseIndexes.existingIndexes,
1101
1101
  triedIndexes: new Map(toCreate.map((index) => [index.name, index])),
1102
- baseExplainPlan: baseExplain,
1103
- explainPlan: finalExplain
1102
+ baseExplainPlan: baseExplain.Plan,
1103
+ explainPlan: finalExplain.Plan
1104
1104
  };
1105
1105
  }
1106
1106
  async runWithoutIndexes(builder) {