.add()
Adds the provided value to the value of the provided key. If no existing number, the provided value will be added to 0 (zero).
Last updated
Adds the provided value to the value of the provided key. If no existing number, the provided value will be added to 0 (zero).
Last updated
Parameter
Description
key
The key that will have its value incremented
value
The value to increment
Returns
Description
The updated data from the provided key's root