quaerateum
Version:
Simple 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 JS.
11 lines (7 loc) • 379 B
text/typescript
import { MySqlConnection } from '../connections/MySqlConnection';
import { AbstractSqlDriver } from './AbstractSqlDriver';
import { MySqlPlatform } from '../platforms/MySqlPlatform';
export class MySqlDriver extends AbstractSqlDriver<MySqlConnection> {
protected readonly connection = new MySqlConnection(this.config);
protected readonly platform = new MySqlPlatform();
}