web-dc-api 0.0.83 → 0.0.84

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.
package/dist/index.d.ts CHANGED
@@ -28400,6 +28400,23 @@ declare class KeyValueModule implements DCModule, IKeyValueOperations {
28400
28400
  direction?: Direction;
28401
28401
  offset?: number;
28402
28402
  }, vaccount?: string): Promise<[string | null, Error | null]>;
28403
+ /**
28404
+ * 按设置时间顺序获取主题的的键值对列表
28405
+ * @param kvdb KeyValueDB实例
28406
+ * @param limit 返回结果数量限制
28407
+ * @param seekKey 查询起始键,用于分页查询
28408
+ * @param direction 查询方向
28409
+ * @param offset 结果偏移量
28410
+ * @param vaccount 可选的虚拟账户
28411
+ * @returns [值列表数组生成的json字符串, 错误信息] 数组的每个元素的格式: key:value$$$dckv_extra$$${'dc_timestamp':'%d','dc_opuser':'%s'}
28412
+ */
28413
+ getWithTimeOrder(kvdb: KeyValueDB, timestamp: number, //毫秒时间戳
28414
+ options: {
28415
+ limit?: number;
28416
+ seekKey?: string;
28417
+ direction?: Direction;
28418
+ offset?: number;
28419
+ }, vaccount?: string): Promise<[string | null, Error | null]>;
28403
28420
  /**
28404
28421
  * 断言模块已初始化
28405
28422
  */