This is the ThingsDB documentation for version v0, click here for the latest version!
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 an event.
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