Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb1caaf8

Browse files
author
Nikita Glukhov
committed
Fix docs for JSON_VALUE(): replaceable => parameter
1 parent3be04dc commitb1caaf8

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17901,28 +17901,30 @@ SELECT JSON_EXISTS(jsonb '{"a": [1,2,3]}', 'strict $.a[5]');
1790117901

1790217902
<varlistentry>
1790317903
<term>
17904-
<literal>{ ERROR | NULL | DEFAULT <replaceable>expression</replaceable> } ON EMPTY</literal>
17904+
<literal>{ ERROR | NULL | DEFAULT <replaceable class="parameter">expression</replaceable> } ON EMPTY</literal>
1790517905
</term>
1790617906
<listitem>
1790717907
<para>
17908-
Defines the return value if no JSON value is found. The default is <literal>NULL</literal>.
17909-
If you use <literal>DEFAULT <replaceable>expression</replaceable></literal>, the provided
17910-
<replaceable>expression</replaceable> is evaluated and cast to the type specified in the
17911-
<command>RETURNING</command> clause.
17908+
Defines the return value if no JSON value is found. The default is
17909+
<literal>NULL</literal>. If you use
17910+
<literal>DEFAULT <replaceable class="parameter">expression</replaceable></literal>,
17911+
the provided <replaceable class="parameter">expression</replaceable> is
17912+
evaluated and cast to the type specified in the <command>RETURNING</command> clause.
1791217913
</para>
1791317914
</listitem>
1791417915
</varlistentry>
1791517916

1791617917
<varlistentry>
1791717918
<term>
17918-
<literal>{ ERROR | NULL | DEFAULT <replaceable>expression</replaceable> } ON ERROR</literal>
17919+
<literal>{ ERROR | NULL | DEFAULT <replaceable class="parameter">expression</replaceable> } ON ERROR</literal>
1791917920
</term>
1792017921
<listitem>
1792117922
<para>
17922-
Defines the return value if an unhandled error occurs. The default is <literal>NULL</literal>.
17923-
If you use <literal>DEFAULT <replaceable>expression</replaceable></literal>, the provided
17924-
<replaceable>expression</replaceable> is evaluated and cast to the type specified in the
17925-
<command>RETURNING</command> clause.
17923+
Defines the return value if an unhandled error occurs. The default is
17924+
<literal>NULL</literal>. If you use
17925+
<literal>DEFAULT <replaceable class="parameter">expression</replaceable></literal>,
17926+
the provided <replaceable class="parameter">expression</replaceable> is
17927+
evaluated and cast to the type specified in the <command>RETURNING</command> clause.
1792617928
</para>
1792717929
</listitem>
1792817930
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp