Fix typo.
This commit is contained in:
parent
68515adfbf
commit
1d6e118dbf
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ with custom parameters (ex. `@HasOne(foreignKey: 'foreign_id')`).
|
||||||
@serializable
|
@serializable
|
||||||
@orm
|
@orm
|
||||||
abstract class _Author extends Model {
|
abstract class _Author extends Model {
|
||||||
@hasMany // Use the defaults, and auto-compute `foreignKey`
|
@HasMany // Use the defaults, and auto-compute `foreignKey`
|
||||||
List<_Book> books;
|
List<_Book> books;
|
||||||
|
|
||||||
// Also supports parameters...
|
// Also supports parameters...
|
||||||
|
|
Loading…
Reference in a new issue