课程: Databases for Node.js Developers (2021)
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Review the auto-generated database structure
课程: Databases for Node.js Developers (2021)
Review the auto-generated database structure
- [Instructor] I'm back in MySQLWorkbench to review the database structure that was just created by Sequelize. So open the shopper database and I open the tables and there you now see that we have orders in the order items table. If I click on orders, I can right click and select the table inspector, and there I can select columns, and I see the columns that were created. You also see that there is a created at and updated at column, very similar to Mongoose, it's created automatically. What it attempts is similar, but it also has this foreign key which is the key that points back to the order ID. Let's look also at what are items in the table inspector, and here we also see the columns that were created for us. And that's all fine and interesting, but I will show you something really cool now. So I go to database and reverse engineer, and there I select the stored connection. So this is the connection are currently on.…
内容
-
-
-
-
-
-
-
(已锁定)
When to use relational databases59 秒
-
(已锁定)
Set up MySQL3 分钟 20 秒
-
(已锁定)
Create a database schema4 分钟 17 秒
-
(已锁定)
Use Node.js with MySQL9 分钟 58 秒
-
(已锁定)
Introduction to Sequelize2 分钟 4 秒
-
(已锁定)
Add MySQL and Sequelize to your project6 分钟 28 秒
-
(已锁定)
Review the database design2 分钟
-
(已锁定)
Create sequelize models8 分钟 51 秒
-
(已锁定)
Review the auto-generated database structure2 分钟 20 秒
-
(已锁定)
Implement an order service8 分钟 29 秒
-
(已锁定)
Add order management7 分钟 13 秒
-
(已锁定)
-