MCPcopy
hub / github.com/prisma/prisma / dbExecute

Method dbExecute

packages/migrate/src/SchemaEngineWasm.ts:147–150  ·  view source on GitHub ↗

* Execute a database script directly on the specified live database. * Note that this may not be defined on all connectors.

(input: SchemaEngineInput<'dbExecute'>)

Source from the content-addressed store, hash-verified

145 * Note that this may not be defined on all connectors.
146 */
147 public async dbExecute(input: SchemaEngineInput<'dbExecute'>) {
148 await this.runCommand('dbExecute', input)
149 return null
150 }
151
152 /**
153 * Make the Schema engine panic. Only useful to test client error handling.

Callers

nothing calls this directly

Calls 1

runCommandMethod · 0.95

Tested by

no test coverage detected