1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-23 07:04:22 +00:00
festa/utils/prismaClient.ts

21 lines
393 B
TypeScript

import { PrismaClient } from "@prisma/client";
export const database = new PrismaClient()
// Tentative typing of a Prisma model.
export type PrismaDelegate = {
findUnique: any,
findFirst: any,
findMany: any,
create: any,
createMany: any,
delete: any,
update: any,
deleteMany: any,
updateMany: any,
upsert: any,
count: any,
aggregate: any,
}