Skip to content

Conversation

@tantaman
Copy link
Contributor

@tantaman tantaman commented Dec 5, 2025

better-sqlite3 forces all statements to have their parameters bound before being run.

explain query plan does not need to have bound params. Add an explicit method (stmt.explainQueryPlan) that allows running without binding params.

We have been injecting random data into bind slots when running analyze query -- better to just keep the slots empty.

@tantaman tantaman merged commit 6b5cbc2 into main Dec 5, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants