Switch to: V9V8V7V6V5

KEYVALUE UPDATE

Syntax

KEYVALUE keyvalue_name [OF TABLE table_name | OF LINK link_name]
    UPDATE ( vext_keyvalue_list )
    [FOR RECORD { UINT | vext_link_list_of_records } ]
vext_keyvalue_list
    :    vext_keyvalue, ...
 
vext_keyvalue
    :    vext_key COLON vext_value
 
vext_key_list
    :    vext_key, ...
 
vext_key
    :    character_string_literal
    |    variable_name
    |    dynamic_parameter_specification
 
vext_value
    :    character_string_literal
    |    variable_name
    |    dynamic_parameter_specification
    |    TRUE
    |    FALSE
vext_link_list_of_records
    :   ( vext_link_value, ... )
 
vext_link_value
    :   UINT | dynamic_parameter_specification

Description

This command is analog of UPDATE for tables. You can use it to update one or many KEY:VALUE pairs in the KeyValue store.

If a KEY is not found, then nothing happens, it is skipped.

Examples

KEYVALUE kvProperties UPDATE
(
    '545.name' : 'Bob',
    '545.age'  : 29
);

See Also