Skip to content

Prepared statements? #1

@ArturFormella

Description

@ArturFormella

Hello!
I have to insert tons of similar rows using prepared statement. Is it possible with this lib?

Just like below:
https://github.com/SAP/node-hdb#prepared-statement-execution

client.prepare('INSERT INTO X(Y) VALUES (?)', function (err, statement){
  if (err) {
    return console.error('Error:', err);
  }
  // do something with the statement
  statement.exec(['X'], function (err, rows) {
    if (err) {
      return console.error('Error:', err);
    }
    console.log('Rows:', rows);
  });
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions