Node Sequelize basic CRUD
Let's see the CRUD operations with sequelize
Create
await User.create({firstName, lastName})
Find
To find all data
User.findAll()
To find specific data
User.findAll({where:{id:3}})
To find only the needed attribute we can use keyword attributes and ...
thilina.hashnode.dev1 min read