@@ -18129,8 +18129,8 @@ SELECT JSON_VALUE(jsonb '[1,2]', 'strict $[*]' DEFAULT 1 ON ERROR);
18129
18129
Defines the return value if no JSON value is found. The default is <literal>NULL</literal>.
18130
18130
If you use <literal>EMPTY [ARRAY]</literal> or <literal>EMPTY OBJECT</literal>,
18131
18131
an empty JSON array [] or object {} is returned, respectively.
18132
- If you use <literal>DEFAULT <replaceable>expression</replaceable></literal>,
18133
- the provided <replaceable>expression</replaceable> is evaluated and cast
18132
+ If you use <literal>DEFAULT <replaceable class="parameter" >expression</replaceable></literal>,
18133
+ the provided <replaceable class="parameter" >expression</replaceable> is evaluated and cast
18134
18134
to the type specified in the <command>RETURNING</command> clause.
18135
18135
</para>
18136
18136
<para>
@@ -18148,8 +18148,8 @@ SELECT JSON_VALUE(jsonb '[1,2]', 'strict $[*]' DEFAULT 1 ON ERROR);
18148
18148
Defines the return value if an unhandled error occurs. The default is <literal>NULL</literal>.
18149
18149
If you use <literal>EMPTY [ARRAY]</literal> or <literal>EMPTY OBJECT</literal>,
18150
18150
an empty JSON array [] or object {} are returned, respectively.
18151
- If you use <literal>DEFAULT <replaceable>expression</replaceable></literal>,
18152
- the provided <replaceable>expression</replaceable> is evaluated and cast
18151
+ If you use <literal>DEFAULT <replaceable class="parameter" >expression</replaceable></literal>,
18152
+ the provided <replaceable class="parameter" >expression</replaceable> is evaluated and cast
18153
18153
to the type specified in the <command>RETURNING</command> clause.
18154
18154
</para>
18155
18155
</listitem>
0 commit comments