@rivascva/dt-idl 1.1.136 → 1.1.137

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/go/psql/models.go CHANGED
@@ -16,7 +16,7 @@ type OrderByType = string
16
16
  const (
17
17
  // OrderByAsc orders the column in ascending order.
18
18
  OrderByAsc OrderByType = "ASC"
19
- // OrderByDesc order the column in descending order.
19
+ // OrderByDesc orders the column in descending order.
20
20
  OrderByDesc OrderByType = "DESC"
21
21
  )
22
22
 
package/go/psql/utils.go CHANGED
@@ -49,8 +49,8 @@ func GetSelectAllQueryWithLimitAndOrderBy(table string, limit uint, orderByColum
49
49
  for _, mp := range where {
50
50
  builder = builder.Where(mp)
51
51
  }
52
- builder.Limit(uint64(limit))
53
- builder.OrderBy(fmt.Sprintf("%s %s", orderByColumn, orderByType))
52
+ builder = builder.Limit(uint64(limit))
53
+ builder = builder.OrderBy(fmt.Sprintf("%s %s", orderByColumn, orderByType))
54
54
  return builder.ToSql()
55
55
  }
56
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.136",
3
+ "version": "1.1.137",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",