Complete the code to import PrismaClient from the Prisma package.
import { [1] } from '@prisma/client';
You need to import PrismaClient to interact with your database using Prisma.
Complete the code to create a new PrismaClient instance.
const prisma = new [1]();You create a new instance of PrismaClient to start querying your database.
Fix the error in the code to correctly export the Prisma client instance.
export const prisma = [1];You must export the instance created with new PrismaClient() to use it elsewhere.
Fill both blanks to write a Prisma query that fetches all users.
const users = await prisma.[1].[2]();
Use prisma.user.findMany() to get all user records from the database.
Fill all three blanks to write a Prisma query that creates a new post with a title.
const newPost = await prisma.[1].[2]({ data: { title: [3] } });
Use prisma.post.create() with a data object to add a new post. The title is a string wrapped in backticks.
