github.com/GuanceCloud/cliutils@v1.1.21/pipeline/ptinput/funcs/md/pt_kvs_keys.en.md (about) 1 ### `pt_kvs_keys()` {#fn_pt_kvs_keys} 2 3 Function prototype: `fn pt_kvs_keys(tags: bool = true, fields: bool = true) -> list` 4 5 Function description: Return the key list in Point 6 7 Function parameters: 8 9 - `tags`: Whether to include the names of all tags 10 - `fields`: Whether to include the names of all fields 11 12 Example: 13 14 ```python 15 for k in pt_kvs_keys() { 16 if match("^prefix_", k) { 17 pt_kvs_del(k) 18 } 19 } 20 ```