Skip to content

Prepared statements #10

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

Open
cyanide-burnout opened this issue Sep 7, 2016 · 2 comments
Open

Prepared statements #10

cyanide-burnout opened this issue Sep 7, 2016 · 2 comments
Labels
backlog Issues for upcoming releases (to be done soon) performance prio5

Comments

@cyanide-burnout
Copy link

Please add support of prepared statements

@darkwrat
Copy link
Contributor

darkwrat commented Sep 7, 2016

Hi.
What do you mean? If you use placeholders in conn:execute then your query is backed by a prepared statement.
https://github.com/tarantool/mysql/blob/master/mysql/init.lua#L65

@cyanide-burnout
Copy link
Author

cyanide-burnout commented Sep 7, 2016

Your code does not use potential of prepared statements. Every time on each call you compile statement before call. There should be a way to compile prepared statements on connect.

@Totktonada Totktonada added 5sp backlog Issues for upcoming releases (to be done soon) prio5 labels Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issues for upcoming releases (to be done soon) performance prio5
Projects
None yet
Development

No branches or pull requests

4 participants