1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +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,
}