diff --git a/README.md b/README.md index 52fcf14..589a22b 100644 --- a/README.md +++ b/README.md @@ -203,6 +203,14 @@ Create a Kysely instance. `src/kysely.ts`: ```ts +import { + CamelCasePlugin, // optional + Kysely, + PostgresAdapter, + PostgresIntrospector, + PostgresQueryCompiler +} from 'kysely' +import { KyselyTypeORMDialect } from 'kysely-typeorm' import type {Database} from './types/database' import {dataSource} from './typeorm' @@ -217,6 +225,6 @@ export const kysely = new Kysely({ typeORMDataSource: dataSource, }), // `CamelCasePlugin` is used to align with `typeorm-naming-strategies`'s `SnakeNamingStrategy`. - plugins: [new CamelCasePlugin()], + plugins: [new CamelCasePlugin()], // optional }) ```