QGIS/resources/function_help/json/map_prefix_keys
Alessandro Pasotti f8c2123b53 Better description
2021-11-17 15:54:33 +01:00

9 lines
393 B
Plaintext

{
"name": "map_prefix_keys",
"type": "function",
"groups": ["Maps"],
"description": "Returns a map with all keys prefixed by a given string.",
"arguments": [ {"arg":"map","description":"a map"}, {"arg":"prefix","description":"a string"}],
"examples": [ { "expression":"map_prefix_keys(map('1','one','2','two'), 'prefix-')", "returns":"{ 'prefix-1': 'one', 'prefix-2': 'two' }"}]
}