@cubejs-backend/mssql-driver 0.31.57 → 0.31.60

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,22 @@
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
+ ## [0.31.60](https://github.com/cube-js/cube.js/compare/v0.31.59...v0.31.60) (2023-02-10)
7
+
8
+ **Note:** Version bump only for package @cubejs-backend/mssql-driver
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.31.58](https://github.com/cube-js/cube.js/compare/v0.31.57...v0.31.58) (2023-02-02)
15
+
16
+ **Note:** Version bump only for package @cubejs-backend/mssql-driver
17
+
18
+
19
+
20
+
21
+
6
22
  ## [0.31.57](https://github.com/cube-js/cube.js/compare/v0.31.56...v0.31.57) (2023-02-02)
7
23
 
8
24
  **Note:** Version bump only for package @cubejs-backend/mssql-driver
@@ -181,6 +181,10 @@ class MSSqlDriver extends BaseDriver {
181
181
  readOnly() {
182
182
  return !!this.config.readOnly;
183
183
  }
184
+
185
+ wrapQueryWithLimit(query) {
186
+ query.query = `SELECT TOP ${query.limit} * FROM (${query.query}) AS t`;
187
+ }
184
188
  }
185
189
 
186
190
  module.exports = MSSqlDriver;
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": "0.31.57",
5
+ "version": "0.31.60",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/cube-js/cube.js.git",
@@ -13,12 +13,12 @@
13
13
  },
14
14
  "main": "driver/MSSqlDriver.js",
15
15
  "dependencies": {
16
- "@cubejs-backend/base-driver": "^0.31.57",
16
+ "@cubejs-backend/base-driver": "^0.31.60",
17
17
  "mssql": "^6.1.0"
18
18
  },
19
19
  "license": "Apache-2.0",
20
20
  "publishConfig": {
21
21
  "access": "public"
22
22
  },
23
- "gitHead": "d14951a7f93b59d742740b0c03a05d6ee25e51b8"
23
+ "gitHead": "3da3fc07f66506feba4e4b552246aefd8719bb29"
24
24
  }