flutter_objectbox_provider 1.0.0
flutter_objectbox_provider: ^1.0.0 copied to clipboard
A robust ObjectBox database management layer for Flutter applications with alternative keys, HNSW vector search, offline sync capabilities, and transaction management.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2025-01-25 #
Added #
- Initial stable release for pub.flutter-io.cn
FlutterObjectBoxProvidersingleton class for ObjectBox Store management- Support for 6 collection types (
ColeccionObjBox,ColeccionObjBox1throughColeccionObjBox5) - CRUD operations with type-safe generic methods
- Alternative keys support (
alternativeKey,alternativeKey1,alternativeKey2) - HNSW vector search for nearest-neighbor queries
- Offline-first sync capabilities with
eTransferfield - Dual ID system (
idMobilefor offline,idServerfor synced records) - Isolate-based async transactions for performance
- Admin interface support in debug mode
- Standardized response format with error codes (ER060-ER068)
Features #
initStore()- Initialize ObjectBox databasecloseStore()- Close database connectiondeleteData<T>()- Remove all records from a collectionguardarEnObjectBox<T>()- Save or update recordsleerByIdObjectBox<T>()- Read record by IDobtenerObjectBox<T>()- Query records with filterseliminarObjectBox<T>()- Delete specific recordscambiaEstadoObjectBox<T>()- Change record statusleerByAlternativeKeyObjectBox<T>()- Read by alternative keyleerByAlternativeHNSWKeyObjectBox<T>()- HNSW vector searchleerPendientesTransferirObjectBox<T>()- Read pending sync recordsactualizoComoTransferidoObjectBox<T>()- Mark records as transferredultimoCreadoElObjectBox<T>()- Get latest timestamp