Databases in Laravel with Eloquent ORM
ฝัง
- เผยแพร่เมื่อ 14 ก.ค. 2024
- Welcome back! Today we look at databases in Laravel, with the Eloquent ORM. We go through database fundamentals and learn how to create migrations, create/query data and handle basic relationships in Eloquent. We continue our social media project by creating users, posts, comments and like models.
Join the Discord: / discord
Timestamps:
00:00 - Intro
00:10 - What is a database?
01:05 - Tables
02:18 - Foreign keys
03:55 - Introducing the ORM
05:10 - Advantages/Disadvantages
07:08 - Migrations
11:00 - Social media tables
13:42 - Models
18:18 - Creating data
19:08 - Querying data
21:40 - Updating data
22:26 - Creating migrations
32:00 - Creating models
35:38 - Showcase - วิทยาศาสตร์และเทคโนโลยี