increase map value(key a, value b, map name c, skip empty d)
Group |
Increases the value of key a in a Named Map c by the value b. If d is true, the operation is only performed if the Empty Flag of value b is not set. The result is the value of b converted to the type BigDecimal.
Parameter Description
Parameter |
Description |
a |
Key of the value. |
b |
The value to be added. |
c |
Name of the map (if no value is set here, the map default is used). |
d |
true, if only values b without set Empty Flag should be used. Default: false. |
Example
The example entries are to be seen as called in sequence.
Parameter a |
Parameter b |
Parameter b empty? |
Parameter c |
Parameter d |
Result |
Value in Map |
key |
123 |
No. |
mapname |
123 |
123 |
|
key |
123 |
No. |
mapname |
123 |
246 |
|
key |
123 |
Yes. |
mapname |
123 |
369 |
|
key |
123 |
Yes. |
mapname |
false |
123 |
492 |
key |
123 |
Yes. |
mapname |
true |
123 |
492 |
See Also
add to inheritance-map(key a, value b, name of map c, inheritance level d, regex for empty e)
csv-into-map(file a, [mapname b], [keycol(s) c], [csv delim d], [csv encoding e], [clear first f])
fill-map-from-fields( map a, prefix b, index c, hidden d, [processing e] )
get value from map(key a, name of map b, delimiter c, item d, [default e])
select into map(a,b,[param &1 = c], d,e, f,g,h,i,j], delimiter k, map l, m, n, o)