Documentation
    Preparing search index...

    Module decorators-legacy

    This package exports all decorators that are available in Sequelize, built using the legacy stage-3 decorators proposal.

    All available decorators can be imported as follows:

    import { HasOne, Attribute } from '@sequelize/core/decorators-legacy';
    
    <internal>
    HookOptions
    InheritedAttributeOptions
    AfterAssociate
    AfterBulkCreate
    AfterBulkDestroy
    AfterBulkRestore
    AfterBulkUpdate
    AfterCreate
    AfterDefinitionRefresh
    AfterDestroy
    AfterDestroyMany
    AfterFind
    AfterRestore
    AfterSave
    AfterSync
    AfterUpdate
    AfterUpsert
    AfterValidate
    AllowNull
    Attribute
    AutoIncrement
    BeforeAssociate
    BeforeBulkCreate
    BeforeBulkDestroy
    BeforeBulkRestore
    BeforeBulkUpdate
    BeforeCount
    BeforeCreate
    BeforeDefinitionRefresh
    BeforeDestroy
    BeforeDestroyMany
    BeforeFind
    BeforeFindAfterExpandIncludeAll
    BeforeFindAfterOptions
    BeforeRestore
    BeforeSave
    BeforeSync
    BeforeUpdate
    BeforeUpsert
    BeforeValidate
    ColumnName
    Comment
    CreatedAt
    Default
    DeletedAt
    Index
    ModelValidator
    NotNull
    PrimaryKey
    Unique
    UpdatedAt
    ValidateAttribute
    ValidationFailed
    Version
    BelongsTo
    BelongsToMany
    Column
    createIndexDecorator
    HasMany
    HasOne
    Table