APPEND Procedure Signature 1
Append a value of type VARCHAR2 to an array.
Syntax
MEMBER PROCEDURE append (
p_value IN VARCHAR2,
p_omit_null IN BOOLEAN DEFAULT TRUE );Parameters
| Parameter | Description |
|---|---|
p_value |
The value. |
p_omit_null |
Whether to omit the value if it is null. |
Example
Create an array with an attribute of type VARCHAR2.
declare
l_obj apex_t_javascript_object := apex_t_javascript_object();
begin
l_obj.open_array;
l_obj.append( 'foo' );
l_obj.close_array;
sys.dbms_output.put_line( l_obj.to_clob );
end;
Output:
["foo"]
Parent topic: APEX_T_JAVASCRIPT_OBJECT