# KyselyServiceRegistrationOptions

`interface` in `plugin-kysely-postgres` · v0.6.0

<https://seedcord.org/docs/packages/plugin-kysely-postgres/0.6.0/interfaces/kysely-service-registration-options>

Extra configuration supplied to `@RegisterKyselyService`.

```ts
interface KyselyServiceRegistrationOptions<
    TTable extends string = string
>
```

## Properties

### table

```ts
readonly table?: TTable
```

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.
