function explainQueries(counts, db) {
  const plans = {};
  for (const querySet of Object.values(counts)) {
    const queries = Object.keys(querySet);
    for (const query of queries) {
      const plan = db.prepare(`EXPLAIN QUERY PLAN ${query.replaceAll("?", "'sdfse'")}`).all().map((r) => r.detail);
      plans[query] = plan;
    }
  }
  return plans;
}
export {
  explainQueries
};
//# sourceMappingURL=explain-queries.js.map
