@byted-apaas/server-sdk-node 1.1.15-beta.12 → 1.1.15-beta.13
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,7 +571,7 @@ class _KQuery {
|
|
|
571
571
|
}
|
|
572
572
|
else {
|
|
573
573
|
let criterion = (0, logic_1.buildCriterion)(queryBuilder.getLogic(), apiName, maxId);
|
|
574
|
-
console.log('walkRecordsByLimitOffset_start', criterion, server_common_node_1.utils.getLogID());
|
|
574
|
+
console.log('walkRecordsByLimitOffset_start', JSON.stringify(criterion), server_common_node_1.utils.getLogID());
|
|
575
575
|
rs = await Request.GetInstance().getRecordsOrCountByCriterion(apiName, await (0, logic_1.handleCriterion)(criterion), queryBuilder.fuzzySearch, orders, false, selectFields, i, newLimit, false, this.authType);
|
|
576
576
|
}
|
|
577
577
|
queryCount += rs.length;
|
|
@@ -7,7 +7,7 @@ const order_1 = require("./order");
|
|
|
7
7
|
const logic_1 = require("../../../kunlun/operator/impl/logic");
|
|
8
8
|
const server_common_node_1 = require("@byted-apaas/server-common-node");
|
|
9
9
|
// SDK 仅作 limit 小于 0 校验,其他校验拦截由底层控制,如当查询结果不满足受控条件时,limit 仅支持最大 200
|
|
10
|
-
exports.defaultLimit =
|
|
10
|
+
exports.defaultLimit = 200;
|
|
11
11
|
/**
|
|
12
12
|
* 查询构造器,在 DB 中被初始化,用于构建一次查询
|
|
13
13
|
*/
|