Skip to main content

dual_store 0.8.0 copy "dual_store: ^0.8.0" to clipboard
dual_store: ^0.8.0 copied to clipboard

A high-performance, binary-based storage engine for Dart. Optimized for small metadata and multi-gigabyte big data using streaming and sequential byte mapping.

0.8.0 #

  • Modified box.add -> Return <T>
  • Modified box.updateById -> Return <T>
  • Modified box.updateOne -> Return <T>

0.7.0 #

  • Modified box.imageBox

0.6.0 #

  • Error Fixed box.getById(id)
  • Added store.removeAdapter(),store.replaceAdapter() Not Tested!.

0.5.0 #

  • Added box.getAllstream()
  • Added DualStore.readHeader(path)
  • Added DualStore.readHeaderSync(path)

0.4.0 #

  • Fixed box

0.3.0 #

  • Added store.getImageBox
  • Fixed box
  • Added box.methods
  • Fixed box.error

0.2.0 #

  • Fixed store.compact

0.1.0 #

  • Initial release.

  • Added persistent local database storage.

  • Added typed DuBox<T> support.

  • Added custom model adapter system with IDuMetaAdapter.

  • Added automatic record ID generation.

  • Added database open, close, reload, and path management.

  • Added conditional database opening with openIfNotOpened().

  • Added flush() support for syncing database contents to disk.

  • Added database and box event streams.

  • Added error event handling.

  • Added database state tracking:

    • lastId
    • deletedCount
    • deletedSize
  • Added database compaction support.

  • Added Result<T, String> based database operation results.

  • Added model serialization and deserialization through adapters.

  • Added Flutter-friendly reactive database events.

  • Added Todo example demonstrating CRUD operations and database compaction.

0
likes
160
points
999
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A high-performance, binary-based storage engine for Dart. Optimized for small metadata and multi-gigabyte big data using streaming and sequential byte mapping.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on dual_store