@pi-r/azure 0.11.2 → 0.11.4

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.
Files changed (2) hide show
  1. package/client/index.js +4 -1
  2. package/package.json +5 -5
package/client/index.js CHANGED
@@ -289,7 +289,10 @@ async function executeBatchQuery(credential, batch, sessionKey) {
289
289
  if (limit > 0) {
290
290
  options.maxItemCount = limit;
291
291
  }
292
- if (queryString) {
292
+ if (options.enableQueryControl && options.continuationToken) {
293
+ queryString = '';
294
+ }
295
+ else if (queryString) {
293
296
  queryString += (query ? Cloud.asString(query, true) : '') + Cloud.asString(options, true);
294
297
  if (!update && (rows = this.getCacheResult(service, credential, queryString, cacheValue, ignoreCache))) {
295
298
  result[i] = rows;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/azure",
3
- "version": "0.11.2",
3
+ "version": "0.11.4",
4
4
  "description": "Azure cloud functions for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "publishConfig": {
@@ -19,10 +19,10 @@
19
19
  "license": "MIT",
20
20
  "homepage": "https://github.com/anpham6/pi-r#readme",
21
21
  "dependencies": {
22
- "@e-mc/cloud": "^0.13.9",
23
- "@e-mc/module": "^0.13.9",
24
- "@e-mc/types": "^0.13.9",
25
- "@azure/cosmos": "^4.9.2",
22
+ "@e-mc/cloud": "^0.13.12",
23
+ "@e-mc/module": "^0.13.12",
24
+ "@e-mc/types": "^0.13.12",
25
+ "@azure/cosmos": "^4.9.3",
26
26
  "@azure/identity": "*",
27
27
  "@azure/storage-blob": "^12.31.0"
28
28
  }