Skip to content
Interfaceplugin-kysely-postgresv0.6.0

KyselyServiceRegistrationOptions

Extra configuration supplied to @RegisterKyselyService.

interface KyselyServiceRegistrationOptions<
    TTable extends string = string
>

Properties

table

Optional override for the table name exposed via the service. It has to match the table the service class specifies as its type argument.

Set this when the table name differs from the service key.

readonly table?: TTable

Default:the provided key