Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Prev Previous commit
Next Next commit
Fixing conditional compilation
  • Loading branch information
lwasylow committed Feb 1, 2022
commit b270d4e02745ca3455c4b1db2523161d683b369c
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ create or replace package body ut_compound_data_helper is
l_obj json_element_t;
begin
$if dbms_db_version.version >= 21 $then
l_obj := case when a_json_t is null then cast (null as json_element_t ) else json_element_t.parse(json_query(a_value, '$' returning clob)) end;
l_obj := case when a_json_t is null then cast (null as json_element_t ) else json_element_t.parse(json_query(a_json_t, '$' returning clob)) end;
$else
l_obj := null;
Comment thread
lwasylow marked this conversation as resolved.
Outdated
$end
Expand Down