Sequelize Tutorial: Episode 3 - Model Instances

Опубликовано: 21 Сентябрь 2024
на канале: WittCode
21k
387

In this Sequelize tutorial series we will learn everything there is to learn about Sequelize. In this video we will learn about model instances in Sequelize. We will insert data into our database and manipulate data before inserting it into our database.

My Software
My Chrome Extension WittCepter -

My Courses


‍ Download Code ‍


⌛ Timestamps ⌛
0:00 - Introduction, Altering Table from Previous Video
2:41 - Inserting Data with Build() and Save()
7:08 - Inserting Data with Create()
9:10 - Updating Inserted Data with Save()
10:56 - Deleting Inserted Data with Destroy()
11:36 - Restoring Original User Data with Reload()
12:43 - Updating Specific Fields with Save()
14:19 - Incrementing() and Decrementing() Inserted Integer Data
15:56 - Insertion of Default Values
17:31 - Inserting Multiple Rows at Once with BulkCreate()
20:46 - Validating Inserted Data
23:47 - Outro