@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.cjs CHANGED
@@ -1108,7 +1108,7 @@ var _IndexOptimizer = class _IndexOptimizer {
1108
1108
  if (baseCost === 0) {
1109
1109
  return {
1110
1110
  kind: "zero_cost_plan",
1111
- explainPlan: baseExplain
1111
+ explainPlan: baseExplain.Plan
1112
1112
  };
1113
1113
  }
1114
1114
  const toCreate = this.indexesToCreate(indexes);
@@ -1149,8 +1149,8 @@ var _IndexOptimizer = class _IndexOptimizer {
1149
1149
  newIndexes: finalIndexes.newIndexes,
1150
1150
  existingIndexes: baseIndexes.existingIndexes,
1151
1151
  triedIndexes: new Map(toCreate.map((index) => [index.name, index])),
1152
- baseExplainPlan: baseExplain,
1153
- explainPlan: finalExplain
1152
+ baseExplainPlan: baseExplain.Plan,
1153
+ explainPlan: finalExplain.Plan
1154
1154
  };
1155
1155
  }
1156
1156
  async runWithoutIndexes(builder) {