@cubejs-backend/mssql-driver 1.2.24 → 1.2.26

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
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.2.26](https://github.com/cube-js/cube/compare/v1.2.25...v1.2.26) (2025-03-21)
7
+
8
+ **Note:** Version bump only for package @cubejs-backend/mssql-driver
9
+
10
+ ## [1.2.25](https://github.com/cube-js/cube/compare/v1.2.24...v1.2.25) (2025-03-20)
11
+
12
+ **Note:** Version bump only for package @cubejs-backend/mssql-driver
13
+
6
14
  ## [1.2.24](https://github.com/cube-js/cube/compare/v1.2.23...v1.2.24) (2025-03-18)
7
15
 
8
16
  **Note:** Version bump only for package @cubejs-backend/mssql-driver
@@ -82,11 +82,19 @@ class MSSqlDriver extends BaseDriver {
82
82
  this.initialConnectPromise = this.connectionPool.connect();
83
83
  }
84
84
 
85
+ /**
86
+ * Returns the configurable driver options
87
+ * Note: It returns the unprefixed option names.
88
+ * In case of using multisources options need to be prefixed manually.
89
+ */
85
90
  static driverEnvVariables() {
86
- // TODO (buntarb): check how this method can/must be used with split
87
- // names by the data source.
88
91
  return [
89
- 'CUBEJS_DB_HOST', 'CUBEJS_DB_NAME', 'CUBEJS_DB_PORT', 'CUBEJS_DB_USER', 'CUBEJS_DB_PASS', 'CUBEJS_DB_DOMAIN'
92
+ 'CUBEJS_DB_HOST',
93
+ 'CUBEJS_DB_NAME',
94
+ 'CUBEJS_DB_PORT',
95
+ 'CUBEJS_DB_USER',
96
+ 'CUBEJS_DB_PASS',
97
+ 'CUBEJS_DB_DOMAIN',
90
98
  ];
91
99
  }
92
100
 
@@ -97,8 +105,8 @@ class MSSqlDriver extends BaseDriver {
97
105
  /**
98
106
  * Executes query in streaming mode.
99
107
  *
100
- * @param {string} query
101
- * @param {Array} values
108
+ * @param {string} query
109
+ * @param {Array} values
102
110
  * @param {{ highWaterMark: number? }} options
103
111
  * @return {Promise<StreamTableDataWithTypes>}
104
112
  */
@@ -151,7 +159,7 @@ class MSSqlDriver extends BaseDriver {
151
159
  * scale: number?,
152
160
  * precision: number?
153
161
  * }
154
- * }} fields
162
+ * }} fields
155
163
  */
156
164
  mapFields(fields) {
157
165
  return Object.keys(fields).map((field) => {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@cubejs-backend/mssql-driver",
3
3
  "description": "Cube.js MS SQL database driver",
4
4
  "author": "Cube Dev, Inc.",
5
- "version": "1.2.24",
5
+ "version": "1.2.26",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/cube-js/cube.git",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "main": "driver/MSSqlDriver.js",
15
15
  "dependencies": {
16
- "@cubejs-backend/base-driver": "1.2.24",
16
+ "@cubejs-backend/base-driver": "1.2.26",
17
17
  "mssql": "^10.0.2"
18
18
  },
19
19
  "devDependencies": {
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "abe830c39be3a52022506a1ae1d9c8598b0b4502"
30
+ "gitHead": "3a2f4ac8039c62a47e1c19ad3a433cca9af3c1f2"
31
31
  }