0.1.10 • Published 1 year ago

ts-hdb v0.1.10

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

HDB Driver (TypeScript)

minimal type-safe hdb driver

npm node-test codecov Quality Gate Status

Get Started

npm i -S ts-hdb
import { HDBClient } from "ts-hdb";

async function run() {
  const client = new HDBClient({
    host: "hostname",
    port: 443,
    user: "username",
    password: "password",
    useTLS: true,
  });
  for await (const row of client.streamQueryObject(
    'SELECT A,B,c,D as "d" FROM A_TABLE'
  )) {
    // the type of `row` is { A: any, B: any, C: any, d: any}
    // row.A
    // row.B
    // row.C
    // row.d
  }
}

run();

Troubleshooting

export NODE_DEBUG=hdb-client

CHANGELOG

LICENSE

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

2 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago