Kysely dialect for PostgreSQL using the deno-postgres client.
Attributes
Includes Deno configuration
Repository
Current version released
10 months ago
kysely-deno-postgres-dialect
Kysely dialect for PostgreSQL using the deno-postgres client.
🚀 Getting started
import { PostgresDialect } from "https://deno.land/x/kysely_deno_postgres_dialect/mod.ts";
const dialect = new KyselyDenoPostgresDialect({
pool: new Pool(
{
database: "postgres",
hostname: "localhost",
password: "postgres",
port: 5432,
user: "postgres",
},
10,
true,
),
});
export const db = new Kysely<Database>({
dialect,
});