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

Improved API for prepared statements #62

Open
tolbertam opened this issue Aug 14, 2018 · 0 comments
Open

Improved API for prepared statements #62

tolbertam opened this issue Aug 14, 2018 · 0 comments
Milestone

Comments

@tolbertam
Copy link
Contributor

There are a few inadequacies around prepared statements

  1. If a prime is created for a prepared statement w/ parameter matching, and then a user prepares and executes a query that doesn't match the parameters, they get an UNPREPARED response rather than the default empty response.

  2. If a prime is created with an error response, but there is a similar prime created with a success response, we should be able to adapt the metadata from the successful one for the response metadata.

  3. Can't explicitly state "This prime only applies to prepared statements"

Maybe it'd be a better idea to have a separate API for prepared statements. This needs to be fleshed out more.

@tolbertam tolbertam added this to the 0.9.0 milestone Aug 14, 2018
@adutra adutra modified the milestones: 0.9.0, 0.12.0 Mar 22, 2021
@weideng1 weideng1 modified the milestones: 0.12.0, 0.13.0 Nov 1, 2022
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

No branches or pull requests

3 participants