Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment with a custom Kysely SQLite dialect #680

Open
wants to merge 5 commits into
base: default
Choose a base branch
from

Conversation

goto-bus-stop
Copy link
Member

In particular:

  • Support async transactions
  • Connection pooling (async transactions requires using other connections for other requests)
  • Reusing most recent prepared statement especially for repeated inserts

This has one big downside for the tests: connection pooling prevents using a named in-memory store with better-sqlite3.

To explore:

  • Can we use libsql like this? AFAICT the official libsql dialect for kysely is outdated and has serious bugs.
  • Execute queries on worker threads to allow JS to run while queries are in progress.

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.

1 participant