This commit is contained in:
thosakwe 2017-06-17 12:53:32 -04:00
parent e6f1cf3948
commit 206fce89c7
3 changed files with 8 additions and 2 deletions

View file

@ -9,6 +9,12 @@ Source-generated ORM for use with the Angel framework. Documentation is coming s
This ORM can work with virtually any database, thanks to the functionality exposed by
`package:query_builder`.
Currently supported:
* PostgreSQL
* MongoDB (planned)
* RethinkDB (planned)
* In-Memory (planned)
Your model, courtesy of `package:angel_serialize`:
```dart

View file

@ -8,7 +8,6 @@ dependencies:
code_builder: ^1.0.0
id: ^1.0.0
inflection: ^0.4.1
postgres: ">=0.9.5 <1.0.0"
query_builder_sql: ^1.0.0-alpha
recase: ^1.0.0
source_gen: ^0.5.8
@ -19,4 +18,5 @@ dev_dependencies:
angel_test: ">=1.0.0 <2.0.0"
build_runner: ^0.3.0
http: ">= 0.11.3 < 0.12.0"
postgres: ">=0.9.5 <1.0.0"
test: ">= 0.12.13 < 0.13.0"

View file

@ -3,7 +3,7 @@ library angel_orm.test.models.car;
import 'package:angel_framework/common.dart';
import 'package:angel_orm/angel_orm.dart' as orm;
import 'package:angel_serialize/angel_serialize.dart';
import 'car.postgres.g.dart';
import 'car.orm.g.dart';
part 'car.g.dart';
@serializable