Loading
Current section: Querying Data 5 exercises
Problem

Database Queries and Migrating to Prisma

Transcript

00:00 So on the notes page right here, we are actually making multiple queries from our in-memory database right now. That's why Cody's image isn't loaded properly. And one of those is to query the owner and then the other is to query the notes. I want you to combine these into a single query

00:17 so that we have that optimization there. It'll be nice. And of course, to migrate this over to Prisma. That way we load the proper stuff from the real database. So go ahead and give that a whirl and we'll see you when you're done.