Update readme
This commit is contained in:
parent
492da01beb
commit
bdba499c78
1 changed files with 1 additions and 0 deletions
|
@ -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')`).
|
||||||
|
|
Loading…
Reference in a new issue