Terminology
Sequelize
vs sequelize
In our documentation, Sequelize
refers to the library itself while the lowercase sequelize
refers to an instance of Sequelize.
This is the recommended convention, and it will be followed throughout the documentation.
Tables, Models & Entities
In Sequelize, Models are the JavaScript classes that represent Database Tables.
Some ORM call these Entities. By convention, they are called Models in Sequelize.
Learn more about Models in Defining a Model
Attributes & Columns
An attribute is the JavaScript representation of a Table Column.
In this documentation, if column is used, it references the SQL column. If attribute is used, it references the JavaScript representation of a column.
Learn more about Attributes in Defining a Model
Associations & Relationships
An association is the JavaScript representation of a Table Relationship.
See Associations for more information.