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

fdb Cursor reuse existing PreparedStatement [PYFB77] #92

Open
firebird-automations opened this issue Jan 11, 2019 · 0 comments
Open

fdb Cursor reuse existing PreparedStatement [PYFB77] #92

firebird-automations opened this issue Jan 11, 2019 · 0 comments

Comments

@firebird-automations
Copy link

Submitted by: Nathan Waite (nater)

In fdb Cursor.execute(), any time a string is passed a new PreparedStatement is created requiring a trip to the server. Can it instead reuse the existing prepared statement if the same string object is passed multiple times [consecutively]? In certain cases this would result in a dramatic (and free!) speed increase without requiring methods not in DB-API 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants