baja-lite 1.3.22 → 1.3.23

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/sql.js +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baja-lite",
3
- "version": "1.3.22",
3
+ "version": "1.3.23",
4
4
  "description": "some util for self",
5
5
  "homepage": "https://github.com/void-soul/util-man",
6
6
  "repository": {
package/sql.js CHANGED
@@ -2856,9 +2856,6 @@ export class SqlService {
2856
2856
  if (option.limitSelf !== true) {
2857
2857
  if (option.countSelf !== true) {
2858
2858
  }
2859
- if (option.orderBy) {
2860
- sql = `${sql} ORDER BY ${option.orderBy}`;
2861
- }
2862
2859
  if (option.pageSize > 0) {
2863
2860
  sql = `${sql} LIMIT ${option.params['limitStart']}, ${option.pageSize}`;
2864
2861
  }