orange-orm 4.7.5 → 4.7.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/dist/index.mjs CHANGED
@@ -17444,6 +17444,7 @@ function requireWrapQuery$2 () {
17444
17444
  function runQuery(query, onCompleted) {
17445
17445
  var params = query.parameters;
17446
17446
  var sql = query.sql();
17447
+ log.emitQuery({ sql, parameters: params });
17447
17448
 
17448
17449
  const replacements = [];
17449
17450
  const parametersToRemove = [];
@@ -17537,8 +17538,6 @@ function requireWrapQuery$2 () {
17537
17538
  });
17538
17539
  }
17539
17540
 
17540
- log.emitQuery({ sql, parameters: params });
17541
-
17542
17541
  runOriginalQuery.call(connection, sql, params, onInnerCompleted);
17543
17542
  let result = [];
17544
17543
 
package/docs/changelog.md CHANGED
@@ -1,4 +1,6 @@
1
1
  ## Changelog
2
+ __4.7.6__
3
+ Changed logging for SAP ASE.
2
4
  __4.7.5__
3
5
  Implemented automatic hex conversion for non-ASCII UTF-8 characters in database parameters to resolve SAP ASE encoding issues.
4
6
  __4.7.4__
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orange-orm",
3
- "version": "4.7.5",
3
+ "version": "4.7.6",
4
4
  "main": "./src/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "browser": "./dist/index.browser.mjs",
@@ -8,6 +8,7 @@ function wrapQuery(_context, connection) {
8
8
  function runQuery(query, onCompleted) {
9
9
  var params = query.parameters;
10
10
  var sql = query.sql();
11
+ log.emitQuery({ sql, parameters: params });
11
12
 
12
13
  const replacements = [];
13
14
  const parametersToRemove = [];
@@ -101,8 +102,6 @@ function wrapQuery(_context, connection) {
101
102
  });
102
103
  }
103
104
 
104
- log.emitQuery({ sql, parameters: params });
105
-
106
105
  runOriginalQuery.call(connection, sql, params, onInnerCompleted);
107
106
  let result = [];
108
107