Entity

    Interface EntityFieldDefinitionOptions

    Options for EntityFieldDefinition

    interface EntityFieldDefinitionOptions {
        association?: EntityAssociationDefinition<any, any, any, any, any, any>;
        cache?: boolean;
        columnName: string;
    }

    Hierarchy (View Summary, Expand)

    Index

    Properties

    association?: EntityAssociationDefinition<any, any, any, any, any, any>

    Defines the association behavior for an entity that this column references.

    cache?: boolean

    Whether or not to cache loaded instances of the entity by this field. The column name is used to derive a cache key for the cache entry. If true, this column must be able uniquely identify the entity and the database must have a unique constraint on the column.

    columnName: string

    Column name in the database.

    MMNEPVFCICPMFPCPTTAAATR