Function: OneToOne()
OneToOne(
target,inverseSideOrOptions?,options?):PropertyDecorator
Defined in: src/decorators/OneToOne.ts:12
Property decorator establishing a one-to-one relationship with another entity.
Parameters
| Parameter | Type |
|---|---|
target | () => Function |
inverseSideOrOptions? | string | OneToOneOptions | ((object) => any) |
options? | OneToOneOptions |
Returns
PropertyDecorator