Prisma Crash Course

Prisma Crash Course36:41

Информация о загрузке и деталях видео Prisma Crash Course

Автор:

Traversy Media

Дата публикации:

12.09.2023

Просмотров:

90.7K

Описание:

In this crash course, we explore Prisma, a Node.js and TypeScript ORM and toolkit for database interaction. The video begins with an introduction and explanation of Prisma at 0:00, then covers data modeling at 5:30, and walks through getting started at 6:28. It explains the schema file at 9:38, demonstrates defining a User model at 10:36 and an Article model at 12:29, and shows how to run migrations at 14:13. The tutorial continues with using the Prisma client at 15:45, the main() function at 16:18, creating a user at 18:00, retrieving users at 19:40, creating an article and relating it to a user at 20:44, and creating a user and article with a single query at 23:16. It then loops through users and articles at 27:59, updates data at 31:30, removes data at 32:37, and concludes with a look at the Prisma Studio GUI at 34:23.