Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soulman-is-good/dart-database
Pure dart written database
https://github.com/soulman-is-good/dart-database
dart dartlang database orm
Last synced: about 2 months ago
JSON representation
Pure dart written database
- Host: GitHub
- URL: https://github.com/soulman-is-good/dart-database
- Owner: soulman-is-good
- License: mit
- Created: 2018-05-14T06:02:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-04T06:11:49.000Z (almost 6 years ago)
- Last Synced: 2024-10-20T07:05:53.363Z (3 months ago)
- Topics: dart, dartlang, database, orm
- Language: Dart
- Size: 39.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# 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
```dart
import 'package:dart_database/dart_database.dart';class Item extends Entity {}
void main() {
bootstrap(
dbFolder: Platform.script.resolve('./db').toFilePath(),
);
Collection items = new Collection(
builder: () => new Item(),
);
Item item = new Item();item['id'] = 1;
item['title'] = 'New item';
items.add(item);
}```