35.14 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 35-16 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