md_doc_help_kdb-setmeta(3) Set the value of a meta key

DESCRIPTION

This command allows the user to set the value of an individual meta key. If a key does not already exist and the user tries setting a meta key associated with it, the key will be created with a null value. There is some special handling for the meta data atime, mtime and ctime. They will be converted to time_t.

For cascading keys, the namespace will default to spec, because that is the place where you usually want to set meta data.

OPTIONS

  • -H, --help: Show the man page.
  • -V, --version: Print version info.
  • -v, --verbose: Explain what is happening.

EXAMPLES

To set a meta key called description associated with the key user/example/key to the value Hello World!: kdb setmeta spec/example/key description 'Hello World!'

To create a new key spec/example/newkey with a null value (if it did not exist before) and a meta key namespace/#0 associated with it to the value system: kdb setmeta /example/newkey 'namespace/#0' system