Prisma vs Drizzle: Comparing the Top Type-Safe ORMs
Lesson write-up coming soon
Prisma vs Drizzle: Comparing the Top Type-Safe ORMs
Prisma vs Drizzle
RyanChenkie
Full Stack Instructor
The best way to get a sense of how to use the Prisma Client is to run a simple query with it. In this lesson, let's see how to perform a findMany query to get some data back from our Prisma database.
Prisma vs Drizzle
Install Dependencies and Set Up Initial Files
Let's start out by installing all of the dependencies we'll need for workin...
Create the Prisma and Drizzle Databases
In this lesson, let's get two databases set up: one specifically for Prisma...
Seed the Prisma Database
In this lesson, let's add a script which will seed the Prisma database with...
Seed the Drizzle Database
We'll want to seed our Drizzle database with some test data, much like we d...
Run a Simple Find Query with Prisma
The best way to get a sense of how to use the Prisma Client is to run a sim...
Run a Simple Find Query with Drizzle
Drizzle offers two different ways to access data: through SQL-like operator...
Handling Relations with Prisma
Prisma offers an elegant syntax for defining relations using the Prisma Sch...
Handling Relations with Drizzle
Using Drizzle, we can query for data related to a given table just by using...
One to Many Relations with Drizzle
Drizzle has several operators to handle relations, including the 'one' and ...
Many to Many Relations with Drizzle
If we want to use Drizzle's relational query API to do many-to-many relatio...
All Prisma CRUD Operators
Prisma offers operators for creating, reading, updating, and deleting data ...
All Drizzle CRUD Operators
When doing read queries with Drizzle, we have the option of using their SQL...
Using Prisma and Drizzle Studio
Both Prisma and Drizzle offer a product called Studio which is a modern tab...
Using Prisma and Drizzle Migrate
Migrations are a key concept and strategy for tracking how a database's cha...
Lesson write-up coming soon
Lesson Resources
Get the code for this lesson