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

22 lines
393 B
TypeScript
Raw Normal View History

2022-05-28 03:45:05 +00:00
import { PrismaClient } from "@prisma/client";
2022-06-11 03:08:49 +00:00
2022-05-31 14:46:06 +00:00
export const database = new PrismaClient()
2022-06-11 03:08:49 +00:00
// 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,
}