Constraints & Circularities Enforcing a foreign key reference without constraints Constraints & Circularities Adding constraints between tables means that tables must be creat...
Other Data Types Ranges (PostgreSQL only) Special Cases BLOBs ENUMs JSON (SQLite, MySQL, MariaDB and PostgreSQL only) Note for PostgreSQL JSONB (PostgreSQL only) MSSQL Othe...
MySQL MySQL In order to get Sequelize working nicely together with MySQL, you'll need to installmysql2@^1.5.2 or higher. Once that's done you can use it like this: const sequ...
Read replication Read replication Sequelize supports read replication, i.e. having multiple servers that you can connect to when you want to do a SELECT query. When you do read...
Class Transaction TYPES ISOLATION_LEVELS LOCK commit() -> Promise rollback() -> Promise Class Transaction View code The transaction object is used to identify a runn...