MCPcopy Index your code
hub / github.com/Effect-TS/effect / runRaw

Method runRaw

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

Source from the content-addressed store, hash-verified

166 }
167
168 runRaw(
169 sql: string,
170 params: ReadonlyArray<unknown> = []
171 ) {
172 return Effect.tryPromise({
173 try: () => this.sdk.execute({ sql, args: params as Array<any> }),
174 catch: (cause) => new SqlError({ cause, message: "Failed to execute statement" })
175 })
176 }
177
178 execute(
179 sql: string,

Callers 1

executeRawMethod · 0.95

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected