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

Implement native server-side prepared statements for parameters binding #39

Open
kadishmal opened this issue Mar 17, 2015 · 0 comments
Open

Comments

@kadishmal
Copy link
Contributor

Migrated from:

At this moment we allow users to place ? as placeholders in SQL queries which get replaces by node-cubrid with provided params before sending the request to the server. Thus, the server receives already prepared statements.

There is a limitation of this functionality just like in node-mysql that when a statement includes a question mark, the bind param operation behaves unexpectedly.

To avoid this, we can ask the server to prepare the statement, and then we will send the parameters in a separate request just like other CUBRID C API based libraries do.

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

1 participant