Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • getType(dict, name) returns the type of the value referred to by the flattened name, throwing an error if dict does not have any such value.
  • getValue(dict, name) returns the value referred to by the flattened name, throwing an error if dict does not have any such value.
  • updateValue(dict, name, value) stores a new value into the typed JSON dict referred to by name.  value is always a string.  Numeric values are converted, and array values are space-separated.  0 is returned on success, and non-zero values indicate an error.

The configdb Class

Configuration management with MongoDB is handled by the configdb class.