19.7 EXPORT_BLUEPRINT Function

This function exports a blueprint in JSON format.

Syntax

APEX_DG_DATA_GEN.EXPORT_BLUEPRINT (
    p_name                  IN VARCHAR2,
    p_pretty                IN VARCHAR2 DEFAULT 'Y' )
RETURN CLOB;

Parameters

Table 19-7 EXPORT_BLUEPRINT Parameters

Parameter Description
p_name Name of blueprint to export.
p_pretty Y to return pretty results, all other values do not.

Returns

Returns the blueprint as a JSON document in a CLOB.

Example

DECLARE
    l_json clob;
BEGIN
    l_json := apex_dg_data_gen.export_blueprint(
                 p_name => 'Cars');
END;