Sets the readable or writable status of an instance node.
An instance node is normally readable and writable. When an instance node is set as non-readable it becomes unavailable for query. When an instance node is set as non-writable it becomes unavailable to agents for injecting new data.
Available in a network database and requires the star$network role.
|node$||Mandatory||Text||Name of the node to have its status set|
|readable$||Mandatory||Boolean||Indicates if node is readable|
|writable$||Mandatory||Boolean||Indicates if node is writable|
SELECT set_node('mynode',false,false); -- sets node 'mynode' as non-readable and writable.
SELECT set_node('mynode',false,true); -- sets node 'mynode' as non-readable.
- The star$nodes view lists existing nodes in the network