1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var tslib_1 = require("tslib");
|
4 |
|
5 |
|
6 |
|
7 | var OffsetWithoutLimitNotSupportedError = (function (_super) {
|
8 | tslib_1.__extends(OffsetWithoutLimitNotSupportedError, _super);
|
9 | function OffsetWithoutLimitNotSupportedError(driverName) {
|
10 | var _this = _super.call(this) || this;
|
11 | _this.name = "OffsetWithoutLimitNotSupportedError";
|
12 | Object.setPrototypeOf(_this, OffsetWithoutLimitNotSupportedError.prototype);
|
13 | _this.message = driverName + " does not support OFFSET without LIMIT in SELECT statements. You must use limit in conjunction with offset function (or take in conjunction with skip function if you are using pagination).";
|
14 | return _this;
|
15 | }
|
16 | return OffsetWithoutLimitNotSupportedError;
|
17 | }(Error));
|
18 | exports.OffsetWithoutLimitNotSupportedError = OffsetWithoutLimitNotSupportedError;
|
19 |
|
20 |
|