database-builder
Version:
Library to assist in creating and maintaining SQL commands.
31 lines (30 loc) • 1.41 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.Drop = void 0;
var drop_builder_1 = require("./drop-builder");
var ddl_base_1 = require("../ddl-base");
var Drop = /** @class */ (function (_super) {
__extends(Drop, _super);
function Drop(typeT, mapperTable, database, enableLog) {
if (database === void 0) { database = void 0; }
if (enableLog === void 0) { enableLog = true; }
return _super.call(this, new drop_builder_1.DropBuilder(typeT, mapperTable), database, enableLog) || this;
}
return Drop;
}(ddl_base_1.DdlBase));
exports.Drop = Drop;