333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
{"version":3,"sources":["../../src/error/OffsetWithoutLimitNotSupportedError.ts"],"names":[],"mappings":";;;AAAA;;EAEE;AACF;IAAyD,+DAAK;IAG1D,6CAAY,UAAkB;QAA9B,YACI,iBAAO,SAGV;QAND,UAAI,GAAG,qCAAqC,CAAC;QAIzC,MAAM,CAAC,cAAc,CAAC,KAAI,EAAE,mCAAmC,CAAC,SAAS,CAAC,CAAC;QAC3E,KAAI,CAAC,OAAO,GAAM,UAAU,iMAA8L,CAAC;;IAC/N,CAAC;IAEL,0CAAC;AAAD,CATA,AASC,CATwD,KAAK,GAS7D;AATY,kFAAmC","file":"OffsetWithoutLimitNotSupportedError.js","sourcesContent":["/**\n * Thrown when user tries to build SELECT query using OFFSET without LIMIT applied but database does not support it.\n*/\nexport class OffsetWithoutLimitNotSupportedError extends Error {\n    name = \"OffsetWithoutLimitNotSupportedError\";\n\n    constructor(driverName: string) {\n        super();\n        Object.setPrototypeOf(this, OffsetWithoutLimitNotSupportedError.prototype);\n        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).`;\n    }\n\n}"],"sourceRoot":".."}