UNPKG

typeorm

Version:

Data-Mapper ORM for TypeScript, ES7, ES6, ES5. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, MongoDB databases.

22 lines (20 loc) 931 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LimitOnUpdateNotSupportedError = void 0; var tslib_1 = require("tslib"); /** * Thrown when user tries to build an UPDATE query with LIMIT but the database does not support it. */ var LimitOnUpdateNotSupportedError = /** @class */ (function (_super) { tslib_1.__extends(LimitOnUpdateNotSupportedError, _super); function LimitOnUpdateNotSupportedError() { var _this = _super.call(this) || this; _this.name = "LimitOnUpdateNotSupportedError"; Object.setPrototypeOf(_this, LimitOnUpdateNotSupportedError.prototype); _this.message = "Your database does not support LIMIT on UPDATE statements."; return _this; } return LimitOnUpdateNotSupportedError; }(Error)); exports.LimitOnUpdateNotSupportedError = LimitOnUpdateNotSupportedError; //# sourceMappingURL=LimitOnUpdateNotSupportedError.js.map