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
|
||||
[![version 1.0.0](https://img.shields.io/badge/pub-v1.0.0-brightgreen.svg)](https://pub.dartlang.org/packages/angel_relations)
|
||||
[![version 1.0.1](https://img.shields.io/badge/pub-v1.0.1-brightgreen.svg)](https://pub.dartlang.org/packages/angel_relations)
|
||||
[![build status](https://travis-ci.org/angel-dart/relations.svg)](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