Loading
Current section: Querying Data 5 exercises
Problem

Transitioning to Real Database with Prisma API

Transcript

00:00 Right now on this page, we're loading our data from our in-memory database. We want to start loading it from the real database, and the user avatar would actually show up when you're done. So there's actually not a whole lot to do. We're just switching from one database to another, but you're going to be actually querying the real database using Prisma APIs.

00:18 So you may need to take a look at some of the docs and stuff, how to do that efficiently, and make sure that you include your SELECT statement because you don't want to include all of the user data, just the data that's relevant for this page. And it'll all be type-safe, and it's amazing. So have a good time with that. We'll see you when you're done.