How to implement sql commands in Sequelize & node js | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

How to implement sql commands in Sequelize & node js

Hey Everybody, I am new in Javascript and i have a project that implement sequelize with node.js Sequelize helps me to manage my sql database, but i have a problem. How to implement all of sql command listed in this course on Sequelize ? Big Thanks.

10th Mar 2019, 1:56 PM
Ibrahimsyah Zairussalam
Ibrahimsyah Zairussalam - avatar
3 Answers
0
Check the sequelize documentation, it's fairly extensive
11th Mar 2019, 7:38 PM
Simon Taylor
Simon Taylor - avatar
+ 6
Firstly you need to create model for each table Then execute commands using model names
10th Mar 2019, 4:31 PM
Shakir Dodhiya
Shakir Dodhiya - avatar
+ 2
NodeJS has packages to interact with most sql databases. Providing that you know the syntax, they will be pretty easy to use
11th Mar 2019, 10:08 AM
Blazy
Blazy - avatar