litebase 1.0.0
litebase: ^1.0.0 copied to clipboard
A lightweight SQLite database wrapper for Flutter based on sqflite, supporting both app-level and user-level databases with DAO patterns.
litebase #
A lightweight SQLite database wrapper for Flutter based on sqflite, supporting both app-level and user-level databases with DAO patterns.
There is a complementary code generation library, litebase_gen, to help you quickly generate boilerplate code.
Features #
- Lightweight SQLite database wrapper
- App-level and user-level database support
- DAO (Data Access Object) pattern implementation
- Database migration support
- Batch operations and transactions
- Query pagination and filtering
Installation #
Add the dependency in pubspec.yaml:
dependencies:
litebase: ^1.0.0
Then run:
flutter pub get
Usage #
Please check the example.
Example #
See the example directory for a complete sample app.
License #
The project is under the MIT license.