MCPcopy Create free account
hub / github.com/Effect-TS/effect / runRaw

Method runRaw

packages/sql/libsql/src/LibsqlClient.ts:219–227  ·  view source on GitHub ↗
(
        sql: string,
        params: ReadonlyArray<unknown> = []
      )

Source from the content-addressed store, hash-verified

217 }
218
219 runRaw(
220 sql: string,
221 params: ReadonlyArray<unknown> = []
222 ) {
223 return Effect.tryPromise({
224 try: () => this.sdk.execute({ sql, args: params as Array<any> }),
225 catch: (cause) => new SqlError({ reason: classifyError(cause, "Failed to execute statement", "execute") })
226 })
227 }
228
229 execute(
230 sql: string,

Callers 1

executeRawMethod · 0.95

Calls 2

classifyErrorFunction · 0.70
executeMethod · 0.45

Tested by

no test coverage detected