site/docs/plugins.md
Plugins are classes that implement KyselyPlugin. Plugins are then added to the Kysely instance as follows:
const db = new Kysely<Database>({
dialect: new PostgresDialect({
database: 'kysely_test',
host: 'localhost',
}),
plugins: [new CamelCasePlugin()],
})
A plugin that converts snake_case identifiers in the database into camelCase in the JavaScript side. Learn more.
A plugin that removes duplicate joins from queries. You can read more about it in the examples section or check the API docs.
in () and not in () pluginA plugin that allows handling in () and not in () with a chosen strategy. Learn more.