Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.MysqlDialectConfig

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
interface kysely.MysqlDialectConfig
import { type kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/mod.ts";
const { MysqlDialectConfig } = kysely;

Properties

pool: MysqlPool | (() => Promise<MysqlPool>)

A mysql2 Pool instance or a function that returns one.

If a function is provided, it's called once when the first query is executed.

https://github.com/sidorares/node-mysql2#using-connection-pools

optional
onCreateConnection: (connection: DatabaseConnection) => Promise<void>

Called once for each created connection.

import kysely.MysqlDialectConfig
import { kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/mod.ts";
const { MysqlDialectConfig } = kysely;