zibri
    Preparing search index...

    Type Alias BelongsToOnePropertyMetadataInput<T, TJoinKey>

    BelongsToOnePropertyMetadataInput: Partial<
        OmitStrict<BelongsToOnePropertyMetadata<T>, "type">,
    > & Pick<BelongsToOnePropertyMetadata<T>, "target" | "inverseSide"> & {
        joinColumn?: TJoinKey;
    }

    Input Metadata for belongs to one properties.

    Type Parameters

    Type Declaration

    • OptionaljoinColumn?: TJoinKey

      The column on the current entity that holds the foreign key. Must be an existing key on the decorated class.