UNPKG

effect-sql-kysely

Version:

A full-featured integration between `@effect/sql` and `Kysely` that provides type-safe database operations with Effect's powerful error handling and resource management.

7 lines (6 loc) 212 B
import type { Kysely } from "kysely"; export declare function beginConnection<DB>(db: Kysely<DB>): Promise<{ conn: Kysely<DB>; success(): Promise<unknown>; fail(cause: unknown): Promise<unknown>; }>;