Sequalize
Introduction
Connect to mysql
// The connection is still established by using mysql2 library behind the scene
const Sequelize = require('sequelize');
const sequelize = new Sequelize('node-complete', 'root', 'nodecomplete', {
dialect: 'mysql',
host: 'localhost'
});
module.exports = sequelize;Modal Definition
Create table
CRUD Operation
Associations
Last updated

