Skip to main content
Version: 6.4

OneToOne

Callable

  • OneToOne(entity?: string | OneToOneOptions<Owner, Target> | (e: Owner) => EntityName<Target>, mappedByOrOptions?: (string & keyof Target) | (e: Target) => any | Partial<OneToOneOptions<Owner, Target>>, options?: Partial<OneToOneOptions<Owner, Target>>): (target: Partial<any>, propertyName: string) => any

  • Parameters

    Returns (target: Partial<any>, propertyName: string) => any

      • (target: Partial<any>, propertyName: string): any
      • Parameters

        • target: Partial<any>
        • propertyName: string

        Returns any