Project: QGIS

Version: 3.24

Feature: map_prefix_keys function

In QGIS 3.24 we've added a new map_prefix_keys function that takes a map and a prefix, the function returns a map with all keys prefixed by the prefix.

Example: map_prefix_keys(map('1','one','2','two'), 'prefix-')

returns: { 'prefix-1': 'one', 'prefix-2': 'two' }

This feature was funded by Kanton Solothurn

This feature was developed by Alessandro Pasotti