reset_counters

Resets the counters for the ThingsDB node you are connected too. Other nodes are not affected.

This function does not generate an event.

Function

reset_counters();

Arguments

None

Return value

Returns nil.

Example

This code will reset the counters on a node:

// resets counters on `localhost:9200`
reset_counters();

Example return value in JSON format (the new collection id)

null