MCPcopy Create free account
hub / github.com/code100x/chess / 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};
6
7type PrismaClientSingleton = ReturnType<typeof prismaClientSingleton>;
8

Callers 1

index.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected