Declaration
ok, pages = ListKeys(string prefix, bool is_asce, int page_size)
Parameters
Parameter Name | Description |
---|---|
prefix | Key prefix. If is_allscope is set to true, you need to specify scope. |
is_asc | Indicates whether to sort the return results in ascending alphabetical order by key. |
page_size | Number of data entries on a single page. |
Return Values
Response Name | Type | Description |
---|---|---|
ok | int | If the value is 0, the operation is successful, and the subsequent field is the page object. Otherwise, the corresponding error code is returned. |
pages | ParaDataPages | If the operation is successful, the page object is returned. Otherwise, an error message is returned. |
Description
Pulls the key list according to the prefix and returns the ParaDataPages page object, through which data can be incrementally pulled by page.
If the ParaDataPages.GetCurrentPage() API is called, it returns the key list of string type.