MCPcopy Create free account
hub / github.com/code100x/daily-code / prismaClientSingleton

Function prismaClientSingleton

packages/db/src/index.ts:3–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { PrismaClient } from "@prisma/client";
2
3const prismaClientSingleton = () => {
4 return new PrismaClient();
5};
6type PrismaClientSingleton = ReturnType<typeof prismaClientSingleton>;
7
8// eslint-disable-next-line

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected