1.0.1
This commit is contained in:
parent
b67ddeb444
commit
7f83004e07
3 changed files with 8 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
# relations
|
||||
[](https://pub.dartlang.org/packages/angel_relations)
|
||||
[](https://pub.dartlang.org/packages/angel_relations)
|
||||
[](https://travis-ci.org/angel-dart/relations)
|
||||
|
||||
Database-agnostic relations between Angel services.
|
||||
|
@ -17,7 +17,9 @@ app.service('authors').afterAll(
|
|||
app.service('books').afterAll(relations.belongsTo('authors'));
|
||||
```
|
||||
|
||||
Currently supports:
|
||||
Supports:
|
||||
* `hasOne`
|
||||
* `hasMany`
|
||||
* `hasManyThrough`
|
||||
* `belongsTo`
|
||||
* `belongsToMany`
|
|
@ -2,6 +2,8 @@
|
|||
/// reminiscent of a relational database.
|
||||
library angel_relations;
|
||||
|
||||
export 'src/belongs_to_many.dart';
|
||||
export 'src/belongs_to.dart';
|
||||
export 'src/has_many.dart';
|
||||
export 'src/has_many_through.dart';
|
||||
export 'src/has_one.dart';
|
|
@ -2,7 +2,7 @@ author: Tobe O <thosakwe@gmail.com>
|
|||
description: Database-agnostic relations between Angel services.
|
||||
homepage: "https://github.com/angel-dart/relations.git"
|
||||
name: angel_relations
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
environment:
|
||||
sdk: ">=1.19.0"
|
||||
dependencies:
|
||||
|
|
Loading…
Reference in a new issue