flutter_objectbox_provider 1.0.0 copy "flutter_objectbox_provider: ^1.0.0" to clipboard
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
  • FlutterObjectBoxProvider singleton class for ObjectBox Store management
  • Support for 6 collection types (ColeccionObjBox, ColeccionObjBox1 through ColeccionObjBox5)
  • 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 eTransfer field
  • Dual ID system (idMobile for offline, idServer for 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 database
  • closeStore() - Close database connection
  • deleteData<T>() - Remove all records from a collection
  • guardarEnObjectBox<T>() - Save or update records
  • leerByIdObjectBox<T>() - Read record by ID
  • obtenerObjectBox<T>() - Query records with filters
  • eliminarObjectBox<T>() - Delete specific records
  • cambiaEstadoObjectBox<T>() - Change record status
  • leerByAlternativeKeyObjectBox<T>() - Read by alternative key
  • leerByAlternativeHNSWKeyObjectBox<T>() - HNSW vector search
  • leerPendientesTransferirObjectBox<T>() - Read pending sync records
  • actualizoComoTransferidoObjectBox<T>() - Mark records as transferred
  • ultimoCreadoElObjectBox<T>() - Get latest timestamp
0
likes
130
points
72
downloads

Publisher

unverified uploader

Weekly Downloads

A robust ObjectBox database management layer for Flutter applications with alternative keys, HNSW vector search, offline sync capabilities, and transaction management.

Repository (GitHub)
View/report issues

Topics

#database #objectbox #offline-first #vector-search #persistence

Documentation

API reference

License

MIT (license)

Dependencies

flat_buffers, flutter, flutter_models_provider, flutter_utils_providers, objectbox, objectbox_flutter_libs, path, path_provider, uuid

More

Packages that depend on flutter_objectbox_provider