37.26 GET_PLSQL_FUNC_RESULT_BOOLEAN Function

This function executes a PL/SQL function block and returns the Boolean result. This function also performs binding of bind variables in the provided PL/SQL function body. This function is usually used for plug-in attributes of type PL/SQL function body.

Syntax

APEX_PLUGIN_UTIL.GET_PLSQL_FUNCTION_RESULT (
    p_plsql_function    IN BOOLEAN )
RETURN VARCHAR2;

Parameters

Table 37-36 GET_PLSQL_FUNC_RESULT_BOOLEAN Parameters

Parameter Description
p_plsql_function A PL/SQL function block that returns a result of type string.

Return

Table 37-37 GET_PLSQL_FUNC_RESULT_BOOLEAN Return

Return Description
BOOLEAN String result value returned by the PL/SQL function block.

Example

The following example executes and returns the Boolean result of the PL/SQL function body that is specified in attribute_03 of an item type plug-in attribute of type PL/SQL Function Body.

l_result := apex_plugin_util.get_plsql_func_result_boolean (
    p_plsql_function => p_item.attribute_03 );