Get Started
Quickstart
Getting started with Bruinen Delta
At its core, Bruinen Delta is a Sqlite database. After configuring it, you will interact with the database normally.
Loading Delta
Delta is loaded onto devices as either a binary or SDK. If there is a specific SDK you require, reach out to us. We may have it already or can create one for you.
Configuration
Once Delta is installed, it can be configured with a set of options to customize it to the use-case
Configuration | Options | Description |
---|---|---|
replica_type | full partial | If this node will be a full or partial replica of the database |
master | boolean | In general only one node will be configured as the master |
storage_limit | limit in mbs, ex: 100 | The amount of storage to allocate for the changelog |
database_file | file_name | The filename of the database, existing or new sqlite file |
Running Delta
You can run Delta by calling delta.run()
within your code. This should be called during startup, and will ensure that the database is configured for use.
If it is not, it will configure the database. Call run
before attempting to create a connection.
Once a connection is established, you can use Sqlite as normal!