VSETATTR

Since 1.1.0Vector sets

Syntax

VSETATTR key element json
  • Flags: write
  • ACL categories: @slow, @vector, @write
  • Arity: -2

Sets an element's JSON attributes; an empty string removes them.

Examples

> VSETATTR points a '{"color":"blue"}'
OK
> VSETATTR points a ""
OK
> VGETATTR points a
(nil)