@byted-apaas/server-sdk-node 1.1.15-beta.2 → 1.1.15-beta.3
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) {
|