Functionplugin-kysely-postgresv0.4.2Decorator
See also:KyselyService
RegisterKyselyService<TKey, TTable>(
key: TKey,
options?: KyselyServiceRegistrationOptions<TTable>
): <Ctor extends Constructor<KyselyServices[TKey] & { table: TTable }>>(
ctor: Ctor
) => voidTKey
TKeyTTable
The table the service reads, defaulting to the key
TTableThe table the service reads, defaulting to the key
key
key: TKeyService key for registration and type-safe access
options?
options?: KyselyServiceRegistrationOptions<TTable>