• Preparing search index...
  • The search index is not available
zibri
  • zibri
  • entity/decorators/property.decorator
  • Property
  • belongsToOne

Function belongsToOne

  • belongsToOne<T extends BaseEntity>(
        metadata: BelongsToOnePropertyMetadataInput<T>,
    ): PropertyDecorator

    Defines a belongs to one property.

    Type Parameters

    • T extends BaseEntity

    Parameters

    • metadata: BelongsToOnePropertyMetadataInput<T>

      Additional data to specify the property.

    Returns PropertyDecorator

    • Defined in src/entity/decorators/property.decorator.ts:289

Settings

Member Visibility
zibri
  • Loading...

Generated using TypeDoc