dart_database 0.0.3
dart_database: ^0.0.3 copied to clipboard

Embeded database written on Dart

Dart database #

Embeded database built in on Dart.

This package is still under development and will heavily change. Use on your own risk

How to use? #

All operations are syncronous and reflects the status at disk

import 'package:dart_database/dart_database.dart';

class Item extends Entity {}

void main() {
    dbFolder: Platform.script.resolve('./db').toFilePath(),
  Collection<Item> items = new Collection<Item>(
    builder: () => new Item(),
  Item item = new Item();

  item['id'] = 1;
  item['title'] = 'New item';