UNPKG

@mikro-orm/knex

Version:

TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.

9 lines (8 loc) 370 B
import type { Knex } from 'knex'; import { AbstractSqlConnection } from '../../AbstractSqlConnection'; export declare class MySqlConnection extends AbstractSqlConnection { createKnex(): void; getDefaultClientUrl(): string; getConnectionOptions(): Knex.MySqlConnectionConfig; protected transformRawResult<T>(res: any, method: 'all' | 'get' | 'run'): T; }