Skip to content
Interfaceplugin-kyselyv0.9.0

KyselyOptions

Options for the Kysely plugin's connection, migrations and services.

interface KyselyOptions

dialect

Builds the Kysely dialect for your database. The plugin calls it in init() and never while seedcord build or seedcord codegen loads your bot.

readonly dialect: () => Dialect

kysely

Any other Kysely config, like log or plugins

readonly kysely?: Except<KyselyConfig, 'dialect'>

path

Folder holding your service classes, subfolders included. A relative path resolves against root from seedcord.config.ts.

readonly path: string

timeout

How long closing the connection may take during shutdown, in milliseconds.

readonly timeout?: number

Default:10_000