Prisma 2 Impressions with NestJS | Next-gen Node.JS ORM?!

Опубликовано: 04 Октябрь 2024
на канале: Marius Espejo
25,687
536

In this video we'll take a look at using Prisma with NestJS. I haven't had a chance to use Prisma before so this will be my first time trying it and providing my own first impressions. In the video we'll cover how to perform create, read, update, delete with a database. As well as how we can represent and query relationships between database tables or models.

00:00 - Intro
02:25 - What we'll build
05:35 - Setup Prisma with NestJS App
08:52 - First look at making new models and running migrations
11:43 - Generate Prisma Client
14:10 - Performing CRUD operations
32:24 - Creating an example relation and adding manipulating the schema
43:46 - Querying relations using include
47:49 - My first impressions
49:33 - How does it compare to TypeORM?
52:00 - Is it really next-gen?
52:43 - Prisma Studio (data browser)
53:58 - Conclusion - Would I use it?