GET_WORKSPACE Function

This function exports the given workspace's definition and users. The optional p_with_% parameters which all default to false can be used to include additional information in the export.

Syntax

function get_workspace (
    p_workspace_id          in number,
    p_with_date             in boolean default false,
    p_with_team_development in boolean default false,
    p_with_misc             in boolean default false )
    return wwv_flow_t_export_files;

Parameters

Table 15-4 GET_WORKSPACE Function Parameters

Parameters Description

p_workspace_id

The workspace id.

p_with_date

If true, include export date and time in the result.

p_with_team_development

If true, include team development data.

p_with_misc

If true, include data from SQL Workshop, mail logs, etc. in the export.

Returns

A table of apex_t_export_file.

Examples

Export the definition of workspace #12345678.

declare
    l_file apex_t_export_files;
begin
    l_files := apex_export.get_workspace(p_workspace_id => 12345678);
end;