Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prisma/prisma
/ fn
Function
fn
packages/client/tests/functional/extensions/model.ts:388–391 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
386
model: {
387
user: {
388
fn() {
389
const
ctx = Prisma.getExtensionContext(this)
390
return
Object.assign(ctx.findFirst(), { prop:
'value'
})
391
},
392
},
393
},
394
})
Callers
13
#withLocalPanicHandler
Method · 0.50
deferredBench
Function · 0.50
retry
Function · 0.50
createPromise
Function · 0.50
runInActiveSpan
Function · 0.50
callOnceOnSuccess
Function · 0.50
simpleDebounce
Function · 0.50
deferredTransaction
Function · 0.50
deferredBench
Function · 0.50
wrapAsync
Function · 0.50
wrapSync
Function · 0.50
map
Function · 0.50
Calls
1
findFirst
Method · 0.80
Tested by
2
deferredBench
Function · 0.40
deferredTransaction
Function · 0.40