Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Linen-dev/linen.dev
/ skipForBrowser
Function
skipForBrowser
packages/database/src/prisma.ts:27–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
function
skipForBrowser() {
28
return
typeof window ===
'undefined'
29
? global.prisma ||
new
PrismaClient(settings)
30
: global.prisma!;
31
}
32
33
export
const
prisma = initPrisma();
34
Callers
1
initPrisma
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected