MCPcopy
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

deferredBenchFunction · 0.50
retryFunction · 0.50
createPromiseFunction · 0.50
runInActiveSpanFunction · 0.50
callOnceOnSuccessFunction · 0.50
simpleDebounceFunction · 0.50
deferredTransactionFunction · 0.50
deferredBenchFunction · 0.50
wrapAsyncFunction · 0.50
wrapSyncFunction · 0.50
mapFunction · 0.50

Calls 1

findFirstMethod · 0.80

Tested by 2

deferredBenchFunction · 0.40
deferredTransactionFunction · 0.40