Update readme

This commit is contained in:
Tobe O 2019-04-08 13:15:18 -04:00
parent 492da01beb
commit bdba499c78

View file

@ -144,6 +144,7 @@ class CarController extends Controller {
* `@HasOne()` (one-to-one) * `@HasOne()` (one-to-one)
* `@HasMany()` (one-to-many) * `@HasMany()` (one-to-many)
* `@BelongsTo()` (one-to-one) * `@BelongsTo()` (one-to-one)
* `@ManyToMany()` (many-to-many, using a "pivot" table)
The annotations can be abbreviated with the default options (ex. `@hasOne`), or supplied The annotations can be abbreviated with the default options (ex. `@hasOne`), or supplied
with custom parameters (ex. `@HasOne(foreignKey: 'foreign_id')`). with custom parameters (ex. `@HasOne(foreignKey: 'foreign_id')`).