@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.
23 lines (22 loc) • 979 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MsSqlKnexDialect = void 0;
const MonkeyPatchable_1 = require("../../MonkeyPatchable");
const MsSqlTableCompiler_1 = require("./MsSqlTableCompiler");
const MsSqlColumnCompiler_1 = require("./MsSqlColumnCompiler");
const MsSqlQueryCompiler_1 = require("./MsSqlQueryCompiler");
class MsSqlKnexDialect extends MonkeyPatchable_1.MonkeyPatchable.MsSqlDialect {
tableCompiler() {
// eslint-disable-next-line prefer-rest-params
return new MsSqlTableCompiler_1.MsSqlTableCompiler(this, ...arguments);
}
columnCompiler() {
// eslint-disable-next-line prefer-rest-params
return new MsSqlColumnCompiler_1.MsSqlColumnCompiler(this, ...arguments);
}
queryCompiler() {
// eslint-disable-next-line prefer-rest-params
return new MsSqlQueryCompiler_1.MsSqlQueryCompiler(this, ...arguments);
}
}
exports.MsSqlKnexDialect = MsSqlKnexDialect;