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.

9 lines (8 loc) 350 B
import * as Sql from "@effect/sql"; import { type Kysely } from "kysely"; export declare function makeSqlClient<DB>({ database, compiler, spanAttributes, chunkSize, }: { database: Kysely<DB>; compiler: Sql.Statement.Compiler; spanAttributes?: ReadonlyArray<readonly [string, string]>; chunkSize?: number; }): Sql.SqlClient.SqlClient;