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

//# sourceMappingURL=explain-queries.js.map