An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

![Siimple Logo](assets/siimple-logo-x180.png)

# 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.