# KyselyServiceRegistrationOptions

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

<https://docs.seedcord.org/packages/plugin-kysely-postgres/0.2.1/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.
