# KyselyDatabase

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

<https://docs.seedcord.org/packages/plugin-kysely-postgres/0.4.2/kysely-database>

The schema Kysely queries against. Declare it once in your database interface file so every service, plus the plugin's own `connection`, can resolve its table names from it.

```ts
interface KyselyDatabase
```

## Examples

```ts
declare module '@seedcord/plugin-kysely-postgres' {
  interface KyselyDatabase {
    schema: MyDatabase;
  }
}
```
