@rdyl/node-mysql 0.2.5 → 0.2.6

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/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## 0.2.4 (2025-08-29)
1
+ ## 0.2.5 (2025-08-29)
2
2
 
3
3
 
4
4
 
package/dist/helper.js CHANGED
@@ -182,7 +182,7 @@ var MysqlSelector = /** @class */ (function (_super) {
182
182
  Object.defineProperty(MysqlSelector.prototype, "countSql", {
183
183
  get: function () {
184
184
  var selectStat = this.selectStat;
185
- var target = "SELECT COUNT(*) AS count FROM users ".concat(this.table);
185
+ var target = "SELECT COUNT(*) AS count FROM ".concat(this.table);
186
186
  if (selectStat.sql) {
187
187
  target += selectStat.sql;
188
188
  }
@@ -237,14 +237,12 @@ var MysqlSelector = /** @class */ (function (_super) {
237
237
  }
238
238
  return target;
239
239
  };
240
- console.log(res);
241
240
  if (Array.isArray(res)) {
242
241
  return [2 /*return*/, res.map(get)];
243
242
  }
244
243
  return [2 /*return*/, [get(res)]];
245
244
  case 2:
246
245
  err_1 = _b.sent();
247
- console.log(err_1);
248
246
  return [2 /*return*/, []];
249
247
  case 3: return [2 /*return*/];
250
248
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdyl/node-mysql",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",