Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prisma/prisma
/ set
Method
set
packages/client-common/src/Cache.ts:11–13 ·
view source on GitHub ↗
(key: K, value: V)
Source
from the content-addressed store, hash-verified
9
}
10
11
set(key: K, value: V): void {
12
this._map.set(key, { value })
13
}
14
15
getOrCreate(key: K, create: () => V): V {
16
const
cached = this._map.get(key)
Callers
15
getOrCreate
Method · 0.95
constructor
Method · 0.80
mergeInvalidArgumentTypeErrors
Function · 0.80
defaultProxyHandlers
Function · 0.80
set
Function · 0.80
mapKeysToLayers
Function · 0.80
getSingle
Method · 0.80
setSingle
Method · 0.80
getBatch
Method · 0.80
setBatch
Method · 0.80
#storeCookiesFromResponse
Method · 0.80
deserializeRawParameters.test.ts
File · 0.80
Calls
no outgoing calls
Tested by
1
main
Function · 0.64