MCPcopy
hub / github.com/prisma/prisma / request

Method request

packages/client/src/runtime/RequestHandler.ts:147–162  ·  view source on GitHub ↗
(params: RequestParams)

Source from the content-addressed store, hash-verified

145 }
146
147 async request(params: RequestParams) {
148 try {
149 return await this.dataloader.request(params)
150 } catch (error) {
151 const { clientMethod, callsite, transaction, args, modelName } = params
152 this.handleAndLogRequestError({
153 error,
154 clientMethod,
155 callsite,
156 transaction,
157 args,
158 modelName,
159 globalOmit: params.globalOmit,
160 })
161 }
162 }
163
164 mapQueryEngineResult({ dataPath, unpacker }: RequestParams, response: QueryEngineResultData<any>) {
165 const data = response?.data

Callers

nothing calls this directly

Calls 2

requestMethod · 0.65

Tested by

no test coverage detected