"use strict";
|
Object.defineProperty(exports, "__esModule", { value: true });
|
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
|