UNPKG

882 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var tslib_1 = require("tslib");
4/**
5 * Thrown when user tries to build an UPDATE query with LIMIT but the database does not support it.
6*/
7var LimitOnUpdateNotSupportedError = /** @class */ (function (_super) {
8 tslib_1.__extends(LimitOnUpdateNotSupportedError, _super);
9 function LimitOnUpdateNotSupportedError() {
10 var _this = _super.call(this) || this;
11 _this.name = "LimitOnUpdateNotSupportedError";
12 Object.setPrototypeOf(_this, LimitOnUpdateNotSupportedError.prototype);
13 _this.message = "Your database does not support LIMIT on UPDATE statements.";
14 return _this;
15 }
16 return LimitOnUpdateNotSupportedError;
17}(Error));
18exports.LimitOnUpdateNotSupportedError = LimitOnUpdateNotSupportedError;
19
20//# sourceMappingURL=LimitOnUpdateNotSupportedError.js.map