cubejs-hana-driver
v0.31.15
Published
Cube.js SAP HANA database driver
Downloads
4
Readme
Website • Docs • Blog • Slack • Discourse • Twitter
Cube.js SAP HANA Database Driver
SAP HANA driver. Works with SAP HANA Cloud and On-Premise HANA (Tested on HANA SP05)
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.