跳到主要内容

IStorageGetKeysOption interface

查询所有key的参数

Signature:

interface IStorageGetKeysOption 

Properties

Property

Modifiers

Type

Description

pageNum?

number

(Optional) 当前查询的页码,默认查第1页 1

pageSize?

number

(Optional) 查询的条数(最大限制每次100条), 默认查10条 10

prefix?

string

(Optional) 可按照前缀检索key, eg: 完整key: 'mini/demo/a', 'mini/demo/b' prefix: 'mini/demo' 可检索出上述两个key