zibri
    Preparing search index...

    Type Alias ManyToOnePropertyMetadataInput<T, TJoinKey>

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

    Input Metadata for many 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.