5min chapter

Syntax - Tasty Web Development Treats cover image

Supper Club × ORMs with Nikolas Burk from Prisma

Syntax - Tasty Web Development Treats

CHAPTER

Using Prisma to Generate Query Objects in Node Modules

The Prisma. library is indeed generated from your Prisma schema and it's put into your node modules by default so it's a little bit different the way how it works under the covers then traditional NPM packages. You just import the Prisma client constructor you instantiate your Prisma client and then you can start sending queries against your database against the models that you've defined inside of your Prisma Schema. The cool thing about this query experience now is that it's also completely type safe with Prisma.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode