MCPcopy Create free account
hub / github.com/code100x/tiplink / prismaClientSingleton

Function prismaClientSingleton

src/db.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

db.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected