25.11 PLIST_PUT Function

This function inserts or updates property list value for a key.

Syntax

plist_put (
     p_table in out nocopy apex_t_varchar2,
     p_key   in varchar2,
     p_value in varchar2 );

Parameters

Table 25-13 PLIST_PUT Function Parameters

Parameters Description

p_table

The input table.

p_key

The input key.

p_value

The input value.

Example

Set property value to "key2".

declare
    l_plist apex_t_varchar2 := apex_t_varchar2('key1','foo');
begin
    apex_string.plist_put(l_plist,'key2','bar');
    sys.dbms_output.put_line(apex_string.plist_get(l_plist,'key2'));
end;
-> bar