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

Make sqlite3_stmt.db public #548

Open
i-sinister opened this issue Jul 4, 2023 · 0 comments
Open

Make sqlite3_stmt.db public #548

i-sinister opened this issue Jul 4, 2023 · 0 comments

Comments

@i-sinister
Copy link

Currently sqlite3_stmt.db is declared as internal however using sqlite3_stmt requires sqlite3 instance to be available for error core checking after sqlite3_step, sqlite3_bind_XXX or sqlite3_reset calls. So in the application sqlite3 and sqlite3_stmt have to be used together. As sqlite3_stmt already has a reference to sqlite3 making it public will make coding experience better and "improve performance" by eliminating the need of tossing second sqlite3 pointer around.

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

1 participant