Prerequisites
Setup
Manual
Add the following to a.env file in your Cube project:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The driver for SQLite is community-supported and is not maintained by Cube or the database vendor.
.env file in your Cube project:
CUBEJS_DB_TYPE=sqlite
CUBEJS_DB_NAME=my_sqlite_database
| Environment Variable | Description | Possible Values | Required |
|---|---|---|---|
CUBEJS_DB_NAME | The name of the database to connect to | A valid database name | ✅ |
CUBEJS_DB_MAX_POOL | The maximum number of concurrent database connections to pool. Default is 8 | A valid number | ❌ |
CUBEJS_CONCURRENCY | The number of concurrent queries to the data source | A valid number | ❌ |