Skip to content

Commit e4752b4

Browse files
readme adjusted; ForeignKey association options removed
1 parent 5adf10b commit e4752b4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ For one-to-one use `@HasOne(...)`(foreign key for the relation exists on the oth
334334
Decorator | Description
335335
------------------------------------------|---------------------
336336
`@ForeignKey(relatedModelGetter: () => typeof Model)` | marks property as `foreignKey` for related class
337-
`@ForeignKey(relatedModelGetter: () => typeof Model, options: AssociationForeignKeyOptions)` | marks property as `foreignKey` for related class and specifies foreign key options
338337
`@BelongsTo(relatedModelGetter: () => typeof Model)` | sets `SourceModel.belongsTo(RelatedModel, ...)` while `as` is key of annotated property and `foreignKey` is resolved from source class
339338
`@BelongsTo(relatedModelGetter: () => typeof Model, foreignKey: string)` | sets `SourceModel.belongsTo(RelatedModel, ...)` while `as` is key of annotated property and `foreignKey` is explicitly specified value
340339
`@BelongsTo(relatedModelGetter: () => typeof Model, options: AssociationOptionsBelongsTo)` | sets `SourceModel.belongsTo(RelatedModel, ...)` while `as` is key of annotated property and `options` are additional association options

0 commit comments

Comments
 (0)