Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ PrismaClient } from
'@prisma/client'
2
3
const
prismaClientSingleton = () => {
4
return
new
PrismaClient()
5
}
6
7
type
PrismaClientSingleton = ReturnType<typeof prismaClientSingleton>
8
Callers
1
db.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected