Skip to content

Function: typeormDialect() ​

ts
function typeormDialect(source): Dialect;

Defined in: packages/typeorm/src/dialect.ts:197

A Kysely dialect that runs every query through TypeORM: the DataSource's pool, or the query runner of an EntityManager (so it joins dataSource.transaction(...)).

Parameters ​

ParameterType
sourceTypeormSource

Returns ​

Dialect

Released under the MIT License. Inspired by spatie/laravel-permission.