@areumtecnologia/mysql-db-handler 1.0.0 → 1.0.2

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.
@@ -196,9 +196,9 @@ class DatabaseHandler {
196
196
  const whereClause = conditions.length > 0 ? ` WHERE ${conditions.join(' ')}` : '';
197
197
 
198
198
  // Cláusulas adicionais
199
- const groupByClause = clauses['GROUPBY'] ? ` GROUP BY ${clauses['GROUP BY']}` : '';
199
+ const groupByClause = clauses['GROUPBY'] ? ` GROUP BY ${clauses['GROUPBY']}` : '';
200
200
  const havingClause = clauses['HAVING'] ? ` HAVING ${clauses['HAVING']}` : '';
201
- const orderClause = clauses['ORDERBY'] ? ` ORDER BY ${clauses['ORDER BY']}` : '';
201
+ const orderClause = clauses['ORDERBY'] ? ` ORDER BY ${clauses['ORDERBY']}` : '';
202
202
  const limitClause = clauses['LIMIT'] ? ` LIMIT ${clauses['LIMIT']}` : '';
203
203
  const offsetClause = clauses['OFFSET'] ? ` OFFSET ${clauses['OFFSET']}` : '';
204
204
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@areumtecnologia/mysql-db-handler",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A powerful MySQL wrapper with connection pooling, singleton support, and advanced query handling for Node.js.",
5
5
  "main": "index.js",
6
6
  "scripts": {