27.12 CLOSE_ARRAY Procedure

This procedure closes the current array and returns the cursor back to the parent element. Subsequent calls to SET_VALUE target the attributes of the parent element or root row.

Can only be called after calling add_dml_array_row or open_array.

An error is raised if called when the cursor is on the root level of the row.

Currently only supported for contexts on REST data sources.

Syntax

APEX_EXEC.CLOSE_ARRAY (
    p_context               IN t_context )

Parameters

Parameter Description
p_context Context object obtained with one of the OPEN_ functions.