https://github.com/hir4k/siimple
Simple But Powerful NoSQL Database For Flutter
https://github.com/hir4k/siimple
dart database flutter isar sqlite
Last synced: 5 months ago
JSON representation
Simple But Powerful NoSQL Database For Flutter
- Host: GitHub
- URL: https://github.com/hir4k/siimple
- Owner: hir4k
- License: apache-2.0
- Created: 2024-12-03T14:39:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-11T15:43:59.000Z (over 1 year ago)
- Last Synced: 2025-03-31T05:28:36.815Z (about 1 year ago)
- Topics: dart, database, flutter, isar, sqlite
- Language: Dart
- Homepage: https://pub.dev/packages/siimple
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

# Siimple ✨
Siimple is a lightweight, NoSQL database built for Flutter and Dart applications. It is designed to be simple, efficient, and easy to integrate into your projects. Perfect for offline-first apps or single-user environments.
> ⚠️ **Warning:** This package is not ready for production use yet. The API may change at any time.
```dart
import 'package:siimple/siimple.dart';
void main() async {
// Initialize database
WidgetsFlutterBinding.ensureInitialized();
final dir = await getApplicationDocumentsDirectory();
final db = Siimple(path: dir.path);
await db.initialize();
final todoCollection = db.collection('todos');
// Add some data
await todoCollection.create({'text': 'Siimple is easy'});
// Get all todos
await todoCollection.query().findAll();
// Get todos by some conditions
await todoCollection.query()
.where("text__contains", "t")
.limit(5)
.findAll();
}
```
Visit github repository and see example folder for more details.