27.62 PURGE_REST_SOURCE_CACHE Procedure

This procedure purges the local cache for a REST Data Source. The REST Data Source must exist in the current application and be identified by a static ID. If caching is disabled or no cache entries exist, nothing happens.

Syntax

APEX_EXEC.PURGE_REST_SOURCE_CACHE (
    p_static_id            IN VARCHAR2,
    p_current_session_only IN BOOLEAN DEFAULT FALSE )

Parameters

Parameter Description
p_static_id Static ID of the REST Data Source to invoke.
p_current_session_only Specify TRUE to only purge entries that were saved for the current session. Default FALSE.

Example

Purge cache for the REST Data Source with static ID USGS.

BEGIN
    apex_exec.purge_rest_source_cache(
        p_static_id => 'USGS' );
END;