Skip to content

Add bind parameter support to Database API#219

Open
penberg wants to merge 1 commit intomainfrom
api
Open

Add bind parameter support to Database API#219
penberg wants to merge 1 commit intomainfrom
api

Conversation

@penberg
Copy link
Copy Markdown
Contributor

@penberg penberg commented Apr 28, 2026

Currently, you need to first prepare a statement to use bind parameters. Add convience wrappers to Database so that callers are not required to do that. This allows optimization too for the Turso serverless driver too, because we no longer need two round trips per query, one for prepare and anoher for query.

Currently, you need to first prepare a statement to use bind parameters. Add
convience wrappers to Database so that callers are not required to do that.
This allows optimization too for the Turso serverless driver too, because we
no longer need two round trips per query, one for prepare and anoher for
query.
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