Module @sequelize/core

This package contains the core functionality of Sequelize. Values can be imported as follows:

import { Model, DataTypes } from '@sequelize/core';

The documentation is available at https://sequelize.org/docs/v7/

Sequelize logo

Sequelize

This library contains the core functionality of Sequelize. Head to sequelize.org to learn how to use Sequelize.

Installation

Using npm:

npm install @sequelize/core

Or using yarn:

yarn add @sequelize/core

References

Modules

Namespaces

Enumerations

Classes

Interfaces

AddCheckConstraintOptions AddColumnOptions AddDefaultConstraintOptions AddForeignKeyConstraintOptions AddPrimaryKeyConstraintOptions AddScopeOptions AddUniqueConstraintOptions AfterAssociateEventData AggregateOptions ArrayOptions AssociationOptions AssociationScope AttributeIndexOptions AttributeOptions AttributeReferencesOptions BaseConstraintOptions BeforeAssociateEventData BelongsToCreateAssociationMixinOptions BelongsToGetAssociationMixinOptions BelongsToManyAddAssociationMixinOptions BelongsToManyAddAssociationsMixinOptions BelongsToManyCountAssociationsMixinOptions BelongsToManyCreateAssociationMixinOptions BelongsToManyGetAssociationsMixinOptions BelongsToManyHasAssociationMixinOptions BelongsToManyHasAssociationsMixinOptions BelongsToManyOptions BelongsToManyRemoveAssociationMixinOptions BelongsToManyRemoveAssociationsMixinOptions BelongsToManySetAssociationsMixinOptions BelongsToOptions BelongsToSetAssociationMixinOptions BlobOptions BuildOptions BulkCreateOptions CollateCharsetOptions ColumnDescription ColumnValidateOptions ColumnsDescription Config Connection ConnectionOptions CountOptions CreateDatabaseOptions CreateFunctionOptions CreateOptions DatabaseDescription DateOptions DecimalNumberOptions DefaultSetOptions DestroyOptions DialectOptions DropOptions EnumOptions Filterable FindAndCountOptions FindByPkOptions FindOptions FindOrBuildOptions FindOrCreateOptions ForeignKeyOptions FunctionParam GeoJsonGeometryCollection GeoJsonLineString GeoJsonMultiLineString GeoJsonMultiPoint GeoJsonMultiPolygon GeoJsonPoint GeoJsonPolygon GeometryOptions GroupedCountResultItem HasManyAddAssociationMixinOptions HasManyAddAssociationsMixinOptions HasManyCountAssociationsMixinOptions HasManyCreateAssociationMixinOptions HasManyGetAssociationsMixinOptions HasManyHasAssociationMixinOptions HasManyHasAssociationsMixinOptions HasManyOptions HasManyRemoveAssociationMixinOptions HasManyRemoveAssociationsMixinOptions HasManySetAssociationsMixinOptions HasOneCreateAssociationMixinOptions HasOneGetAssociationMixinOptions HasOneOptions HasOneSetAssociationMixinOptions Hookable IncludeOptions IncludeThroughOptions IncrementDecrementOptions IncrementDecrementOptionsWithBy IndexDescription IndexField IndexFieldDescription IndexHint IndexHintable IndexOptions InitOptions InstanceDestroyOptions InstanceRestoreOptions InstanceUpdateOptions IntegerOptions JoinTableAttributes Logging ModelGetOptions ModelNameOptions ModelOptions ModelScopeOptions MultiAssociationOptions NonNullFindByPkOptions NonNullFindOptions NormalizedAttributeOptions NormalizedAttributeReferencesOptions NormalizedOptions NormalizedReplicationOptions NumberOptions OpTypes OperatorsAliases Options Paranoid PoolOptions Poolable Projectable QiArithmeticOptions QiDeleteOptions QiInsertOptions QiOptionsWithReplacements QiSelectOptions QiUpdateOptions QiUpsertOptions QueryInterfaceCreateTableOptions QueryInterfaceDropAllTablesOptions QueryInterfaceDropTableOptions QueryInterfaceIndexOptions QueryInterfaceRemoveIndexOptions QueryOptions QueryOptionsTransactionRequired QueryOptionsWithModel QueryOptionsWithType QueryRawOptions QueryRawOptionsWithModel QueryRawOptionsWithType RangeOptions RemoveColumnOptions Replaceable ReplicationOptions RestoreOptions SaveOptions SchemaOptions ScopeOptions SearchPathable SetOptions Silent SyncAlterOptions SyncOptions TableNameWithSchema TextOptions ThroughOptions TimeOptions TransactionOptions Transactionable TruncateOptions UpdateOptions UpsertOptions Validator VirtualOptions WhereGeometryOptions WhereOperators

Type Aliases

AddConstraintOptions AllowAnyAll AllowNotOrAndRecursive AllowNotOrAndWithImplicitAndArrayRecursive AttributeNames Attributes BelongsToCreateAssociationMixin BelongsToGetAssociationMixin BelongsToManyAddAssociationMixin BelongsToManyAddAssociationsMixin BelongsToManyCountAssociationsMixin BelongsToManyCreateAssociationMixin BelongsToManyGetAssociationsMixin BelongsToManyHasAssociationMixin BelongsToManyHasAssociationsMixin BelongsToManyRemoveAssociationMixin BelongsToManyRemoveAssociationsMixin BelongsToManySetAssociationsMixin BelongsToSetAssociationMixin BindOrReplacements BrandedKeysOf BuiltModelName BuiltModelOptions ColumnReference ContinuationLocalStorageNamespace CountWithOptions CreationAttributes CreationOptional DataType DataTypeClass DataTypeClassOrInstance DataTypeInstance Dialect DynamicValues EmptyRange FieldMap FindAttributeOptions ForeignKey GeoJson GroupOption HasManyAddAssociationMixin HasManyAddAssociationsMixin HasManyCountAssociationsMixin HasManyCreateAssociationMixin HasManyGetAssociationsMixin HasManyHasAssociationMixin HasManyHasAssociationsMixin HasManyRemoveAssociationMixin HasManyRemoveAssociationsMixin HasManySetAssociationsMixin HasOneCreateAssociationMixin HasOneGetAssociationMixin HasOneSetAssociationMixin Identifier Includeable IndexMethod IndexType InferAttributes InferAttributesOptions InferCreationAttributes InputRangePart InternalInferAttributeKeysFromFields InvalidInSqlArray IsBranded ModelAttributes ModelDefined ModelStatic MultiAssociationAccessors NonAttribute NormalizedAssociationOptions NormalizedBelongsToOptions NormalizedHasManyOptions NormalizedHasOneOptions NormalizedPoolOptions OperatorValues Order OrderItem OrderItemAssociation OrderItemColumn PositionPosition ProjectionAlias Rangable Range RangePart ReferentialAction RetryOptions SingleAssociationAccessors StaticValues TableName UpdateValues WhereAttributeHash WhereAttributeHashValue WhereLeftOperand WhereOptions WhereSerializableValue

Variables

Functions

References

Renames and re-exports Sequelize

Generated using TypeDoc