@sequelize/core
Version:
Sequelize is a promise-based Node.js ORM tool for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server, Amazon Redshift, Snowflake’s Data Cloud, Db2, Oracle, and IBM i. It features solid transaction support, relations, eager and lazy loading, read repli
18 lines (17 loc) • 564 B
text/typescript
/**
* 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:
*
* ```js
* import { HasOne, Attribute } from '@sequelize/core/decorators-legacy';
* ```
*
* @module decorators-legacy
*/
export { BelongsTo, BelongsToMany, HasMany, HasOne } from './associations.js';
export * from './attribute.js';
export * from './built-in-attributes.js';
export * from './model-hooks.js';
export * from './table.js';
export * from './validation.js';