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

Method runRaw

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

Source from the content-addressed store, hash-verified

229 }
230
231 runRaw(
232 sql: string,
233 params: ReadonlyArray<unknown> = []
234 ) {
235 return Effect.tryPromise({
236 try: () => this.sdk.execute({ sql, args: params as Array<any> }),
237 catch: (cause) => new SqlError({ reason: classifyError(cause, "Failed to execute statement", "execute") })
238 })
239 }
240
241 execute(
242 sql: string,

Callers 1

executeRawMethod · 0.95

Calls 2

classifyErrorFunction · 0.70
executeMethod · 0.45

Tested by

no test coverage detected