/js-data-saphana

Primary LanguageJavaScriptMIT LicenseMIT

js-data logo

js-data-saphana

Slack

A SAP Hana adapter for the JSData Node.js ORM.

Installation

npm install --save js-data js-data-saphana

Usage

import { SapHanaAdapter } from 'js-data-saphana';

// Create an instance of SapHanaAdapter
const adapter = new SapHanaAdapter({
  hanaOpts: {
    host: '127.0.0.1',
    port: 0,
    uid: 'root',
    pwd: 'test'
  }
});

// Other JSData setup hidden

// Register the adapter instance
store.registerAdapter('adapter', adapter, { default: true });

JSData + SQL Tutorial

Start with the JSData.

License

The MIT License (MIT)

Copyright (c) 2014-2021 js-data-saphana project authors