@meta2d/core 1.0.98 → 1.0.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/core.js CHANGED
@@ -2702,7 +2702,7 @@ export class Meta2d {
2702
2702
  if (sql.pageSize !== -1) {
2703
2703
  if (sql.dbType === "oracle") {
2704
2704
  if (!_sql.includes('OFFSET')) {
2705
- _sql += ` OFFSET ${(sql.current || 1 - 1) * (sql.pageSize || 20)} ROWS FETCH NEXT ${sql.pageSize || 20} ROWS ONLY`;
2705
+ _sql += ` OFFSET ${((sql.current || 1) - 1) * (sql.pageSize || 20)} ROWS FETCH NEXT ${sql.pageSize || 20} ROWS ONLY`;
2706
2706
  }
2707
2707
  }
2708
2708
  else {