Resets the counters for the ThingsDB node you are connected too.
Other nodes are not affected.
This will set the started_at
counter value to the current UNIX time-stamp in seconds and all other counters to 0
(zero).
This function does not generate a change.
reset_counters()
None
Returns nil
.
This code will reset the counters on a node:
// resets counters on the node in this scope
reset_counters();
Return value in JSON format
null