@byted-apaas/server-sdk-node 1.1.15-beta.2 → 1.1.15-beta.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.
@@ -571,6 +571,7 @@ class _KQuery {
571
571
  }
572
572
  else {
573
573
  let criterion = (0, logic_1.buildCriterion)(queryBuilder.getLogic(), apiName, maxId);
574
+ server_common_node_1.utils.printInfoLog(`walkRecordsByLimitOffset start, criterion: ${JSON.stringify(criterion)}, logID: ${server_common_node_1.utils.getLogID()}`);
574
575
  rs = await Request.GetInstance().getRecordsOrCountByCriterion(apiName, await (0, logic_1.handleCriterion)(criterion), queryBuilder.fuzzySearch, orders, false, selectFields, i, newLimit, false, this.authType);
575
576
  }
576
577
  queryCount += rs.length;
@@ -580,6 +581,7 @@ class _KQuery {
580
581
  }
581
582
  }
582
583
  catch (err) {
584
+ server_common_node_1.utils.printInfoLog(`walkRecordsByLimitOffset err, rs: ${JSON.stringify(rs)}, err: ${JSON.stringify(err)}, logID: ${server_common_node_1.utils.getLogID()}`);
583
585
  throw err;
584
586
  }
585
587
  if (rs.length < queryBuilder_1.defaultLimit) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byted-apaas/server-sdk-node",
3
- "version": "1.1.15-beta.2",
3
+ "version": "1.1.15-beta.4",
4
4
  "description": "aPaaS Server SDK",
5
5
  "author": "zhouwexin <zhouwexin@bytedance.com>",
6
6
  "homepage": "",
@@ -318,9 +318,8 @@ async function getRecordsOrCountByCriterion(objectApiName, criterion, fuzzySearc
318
318
  if (authType) {
319
319
  options.headers[constants_3.AuthTypeHttpHeader] = authType;
320
320
  }
321
- utils.printInfoLog(`getRecordsOrCountByCriterion start, options: ${JSON.stringify(options)}, urlPath: ${urlPath}, logID: ${utils.getLogID()}`);
321
+ utils.printInfoLog(`getRecordsOrCountByCriterion start, options: ${options}, urlPath: ${urlPath}, logID: ${utils.getLogID()}`);
322
322
  let data = await openapi.doRequest(null, urlPath, options);
323
- utils.printInfoLog(`getRecordsOrCountByCriterion end, options: ${JSON.stringify(options)}, result: ${JSON.stringify(data)}, urlPath: ${urlPath}, logID: ${utils.getLogID()}`);
324
323
  return handleResponse(objectApiName, data, needCount);
325
324
  }
326
325
  /**