MCPcopy
hub / github.com/simstudioai/sim / unsafe

Function unsafe

packages/db/tx-tripwire.test.ts:30–33  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

28 const client = instrumentPoolClient(
29 {
30 unsafe(query: string) {
31 rootQueries.push(query)
32 return Promise.resolve([])
33 },
34 // Mirrors postgres-js: begin issues its internal BEGIN through the root
35 // client's unsafe (the instrumented one) before running the callback on
36 // a reserved connection.

Callers

nothing calls this directly

Calls 2

resolveMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected