@pi-r/azure 0.9.6 → 0.9.7

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
@@ -242,7 +242,10 @@ async function executeBatchQuery(credential, batch, sessionKey) {
242
242
  options.maxItemCount = limit;
243
243
  }
244
244
  if (query || Object.keys(options).length > 0) {
245
- if (queryString) {
245
+ if (options.enableQueryControl && options.continuationToken) {
246
+ queryString = '';
247
+ }
248
+ else if (queryString) {
246
249
  queryString += (query ? Cloud.asString(query, true) : '') + Cloud.asString(options, true);
247
250
  if (!update && (rows = this.getCacheResult(service, credential, queryString, cacheValue, ignoreCache))) {
248
251
  result[i] = rows;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/azure",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
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.11.18",
23
- "@e-mc/module": "^0.11.18",
24
- "@e-mc/types": "^0.11.18",
25
- "@azure/cosmos": "^4.3.0",
22
+ "@e-mc/cloud": "^0.11.19",
23
+ "@e-mc/module": "^0.11.19",
24
+ "@e-mc/types": "^0.11.19",
25
+ "@azure/cosmos": "^4.9.0",
26
26
  "@azure/identity": "4.6.0",
27
27
  "@azure/storage-blob": "^12.27.0"
28
28
  }