cubejs-hana-driver
TypeScript icon, indicating that this package has built-in type declarations

0.31.15 • Public • Published

Cube.js

WebsiteDocsBlogSlackDiscourseTwitter

npm version GitHub Actions

Cube.js SAP HANA Database Driver

SAP HANA driver. Works with SAP HANA Cloud and On-Premise HANA (Tested on HANA SP05)

Learn more

How to use

In your cube project, you can use .env or cube.js to config the HANA data source

In cube.js

module.exports = {
    driverFactory: ({ dataSource }) => {
        return {
            type: 'hana',
            serverNode: '<hana-instance-id>.hana.prod-us20.hanacloud.ondemand.com:443',
            uid: '<username>',
            pwd: '<password>',
        }
    }
};

Or in local .env file

CUBEJS_DB_TYPE=hana
CUBEJS_DB_HOST=<hana-instance-id>.hana.prod-us20.hanacloud.ondemand.com:443
CUBEJS_DB_USER=<username>
CUBEJS_DB_PASS=<password>

Support

This driver has been contributed by Cube.js community member Ethan Zhang. This package is community supported and should be used at your own risk.

License

Cube.js SAP HANA Database Driver is Apache 2.0 licensed.

Readme

Keywords

none

Package Sidebar

Install

Weekly Downloads

9

Version

0.31.15

License

Apache-2.0

Unpacked Size

33.2 kB

Total Files

16

Last publish

Collaborators

  • zhjuncai