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

Initial implementation of Statement::bind_at #675

Merged
merged 5 commits into from
Jan 15, 2025

Conversation

levydsa
Copy link
Contributor

@levydsa levydsa commented Jan 14, 2025

Resolves #607.

  • Index parameters.
  • Named parameters.
  • Parameter count.
  • More tests.
  • Expose to Sqlite3 API.

@levydsa levydsa changed the title feat: initial implementation of Statement::bind Initial implementation of Statement::bind Jan 14, 2025
@levydsa levydsa force-pushed the variable branch 4 times, most recently from bc8c12e to a52a8c0 Compare January 15, 2025 19:50
add `Statement::{parameter_index, parameter_name, parameter_count,
bind_at}`. some refactoring is still needed, this is quite a rough
iteration
`?0` parameters are now handled by the parser.
@levydsa levydsa marked this pull request as ready for review January 15, 2025 19:59
@levydsa levydsa changed the title Initial implementation of Statement::bind Initial implementation of Statement::bind_at Jan 15, 2025
@penberg penberg merged commit 2aaa981 into tursodatabase:main Jan 15, 2025
37 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.

Prepared statement value binding
2 participants