54.16 PLIST_PUSH Procedure
This procedure appends key/value to the property list, without looking for duplicates.
Syntax
PROCEDURE PLIST_PUSH (
p_table IN OUT nocopy apex_t_varchar2,
p_key IN VARCHAR2,
p_value IN VARCHAR2 );
Parameters
Parameters | Description |
---|---|
p_table |
The input table. |
p_key |
The input key. |
p_value |
The input value. |
Example
The following example demonstrates how to append key2/bar.
declare
l_plist apex_t_varchar2 := apex_t_varchar2('key1','foo');
begin
apex_string.plist_push(l_plist,'key2','bar');
sys.dbms_output.put_line(apex_string.plist_get(l_plist,'key2'));
end;
-> bar
Parent topic: APEX_STRING