nitrite_hive_adapter 1.1.0 copy "nitrite_hive_adapter: ^1.1.0" to clipboard
nitrite_hive_adapter: ^1.1.0 copied to clipboard

A persistent storage module for Nitrite database based on Hive.

Nitrite Hive Adapter #

Nitrite Hive adapter uses Hive as a file based storage engine for Nitrite database.

Getting started #

To use Hive as a storage engine for Nitrite, add the following dependency in your project:

dart pub add nitrite_hive_adapter

Usage #

To use Hive as a storage engine, you need to create a HiveModule and pass it to Nitrite builder.

// create a hive backed storage module
var storeModule = HiveModule.withConfig()
    .crashRecovery(true)
    .path('$dbDir/db')
    .build();

// initialization using builder
var db = await Nitrite.builder()
    .loadModule(storeModule)
    .openOrCreate(username: 'user', password: 'pass123');

Additional information #

For additional information visit the Hive module documentation.

1
likes
160
points
74
downloads

Publisher

verified publisherdizitart.com

Weekly Downloads

A persistent storage module for Nitrite database based on Hive.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

Apache-2.0 (license)

Dependencies

hive, logging, meta, nitrite, path, path_provider

More

Packages that depend on nitrite_hive_adapter