40.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 40-16 PLIST_PUT Function Parameters
Parameters | Description |
---|---|
|
The input table. |
|
The input key. |
|
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
Parent topic: APEX_STRING