dobo-clickhouse 2.2.1 → 2.2.3

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.
@@ -18,6 +18,7 @@ async function clickhouseDriverFactory () {
18
18
  this.support.returning = false
19
19
  this.support.uniqueIndex = false
20
20
  this.support.nullableField = false
21
+ this.useUtc = true
21
22
  }
22
23
 
23
24
  async sanitizeConnection (item) {
@@ -66,6 +66,12 @@ async function factory () {
66
66
 
67
67
  return super.limit()
68
68
  }
69
+
70
+ where () {
71
+ let sql = super.where()
72
+ sql = sql.replace(' ESCAPE ?', '')
73
+ return sql
74
+ }
69
75
  }
70
76
 
71
77
  // Set the QueryBuilder & QueryCompiler on the client object,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo-clickhouse",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "description": "Clickhouse driver for Dobo",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-02-01
4
+
5
+ - [2.2.3] Bug fix for query with regex
6
+
7
+ ## 2026-01-30
8
+
9
+ - [2.2.2] Bug fix for saving ```datetime``` value
10
+
3
11
  ## 2026-01-19
4
12
 
5
13
  - [2.2.0] First published version
6
-
14
+ - [2.2.1] Bug fix for update operation