This is the ThingsDB documentation for version v0, click here for the latest version!
This is a special type within ThingsDB and is returned by all the
As an example we can take the node_info and view the type. This will tell us that the value is indeed of the
// get the current node info
node_info = node_info();
// return the type as string to verify this is indeed the `info` type
Return value in JSON format
mpdata type is also returned by default from all modules. This way ThingsDB does not require to load responses into memory if nothing has to be done with the result.
|Return the length of the data in bytes.
|Load the data into ThingsDB.