Skip to content

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

Description

@kadishmal

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions