Limit the Amount of Returned Data with Prisma Client

InstructorRyan Chenkie

Share this video with your friends

Send Tweet

Prisma Client allows us to limit the amount of data that is returned from queries. It also allows us to be specific about which data should be included in the returned dataset. In this lesson, we use the select and include operators to be specific about the shape of our returned data.

Danilo Cabello
~ 3 years ago

Hi Ryan, thank you for the course so far, content is great and flows nicely. Will new episodes be posted? Curious about validation and permissions (authorization).

Ryan Chenkieinstructor
~ 3 years ago

Thanks for checking it out!

I might post some more videos or perhaps do a more advanced set of tutorials. Anything else you'd be looking for in an advanced course?

Stephen
~ 3 years ago

Would love to see topics about transactions, running raw queries, rolling back migrations, etc. And also, does Primsa allow me to create my own methods for a given model? Something like prima.product.findOne().hasReview()?

Ryan Chenkieinstructor
~ 3 years ago

Thanks for the feedback Stephen! I'll see if I can focus on those topics in my future lessons.

Devin Rhode
~ 2 years ago

Hey Ryan, this seemed to be the leading prisma source on the internet even after a year! Would love some more of these high quality videos!

Ryan Chenkieinstructor
~ 2 years ago

Hey Ryan, this seemed to be the leading prisma source on the internet even after a year! Would love some more of these high quality videos!

Thanks! More to come 👍