oceanbase-cubejs-driver
v0.31.68
Published
Cube.js oceanbase database driver
Downloads
1
Readme
oceanbase-cubejs-driver
Usage
- cube.js
// Cube.js configuration options: https://cube.dev/docs/config
const {OceanBaseQuery,OceanBaseDriver} = require("oceanbase-cubejs-driver")
module.exports = {
dialectFactory: (dataSource) => {
// need config datasource for multitenant env
return OceanBaseQuery
},
dbType: ({ dataSource } = {}) => {
return "oceanbase"
},
driverFactory: ({ dataSource } = {}) => {
return new OceanBaseDriver({
host: xxxxxx,
port:xxxx,
database: xxxx,
user:xxx,
password: xxxx
})
}
};