How to use hdb - 1 common examples

To help you get started, we’ve selected a few hdb examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rickbergfalk / sqlpad / server / drivers / hdb / index.js View on Github external
return new Promise((resolve, reject) => {
    const client = hdb.createClient({
      host: connection.host,
      port: connection.hanaport,
      database: connection.hanadatabase,
      user: connection.username,
      password: connection.password,
      schema: connection.hanaSchema
    });

    client.on('error', err => {
      console.error('Network connection error', err);
      return reject(err);
    });

    client.connect(err => {
      if (err) {
        console.error('Connect error', err);

hdb

SAP HANA Database Client for Node

Apache-2.0
Latest version published 1 month ago

Package Health Score

84 / 100
Full package analysis

Popular hdb functions