Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9d96f6a

Browse files
author
Nikita Glukhov
committed
Fix docs for JSON_QUERY(): replaceable => parameter
1 parent b1caaf8 commit 9d96f6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/func.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18129,8 +18129,8 @@ SELECT JSON_VALUE(jsonb '[1,2]', 'strict $[*]' DEFAULT 1 ON ERROR);
1812918129
Defines the return value if no JSON value is found. The default is <literal>NULL</literal>.
1813018130
If you use <literal>EMPTY [ARRAY]</literal> or <literal>EMPTY OBJECT</literal>,
1813118131
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
1813418134
to the type specified in the <command>RETURNING</command> clause.
1813518135
</para>
1813618136
<para>
@@ -18148,8 +18148,8 @@ SELECT JSON_VALUE(jsonb '[1,2]', 'strict $[*]' DEFAULT 1 ON ERROR);
1814818148
Defines the return value if an unhandled error occurs. The default is <literal>NULL</literal>.
1814918149
If you use <literal>EMPTY [ARRAY]</literal> or <literal>EMPTY OBJECT</literal>,
1815018150
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
1815318153
to the type specified in the <command>RETURNING</command> clause.
1815418154
</para>
1815518155
</listitem>

0 commit comments

Comments
 (0)