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

Commit240c38a

Browse files
committed
Doc: clean up markup for jsonb_set and related functions.
The markup for optional parameters was neither correct nor consistent.In passing, fix a spelling mistake.Per report from Alex Macy. Some of these mistakes are old, soback-patch as appropriate.Discussion:https://postgr.es/m/156953522258.1204.12736099368284950578@wrigleys.postgresql.org
1 parent84ced04 commit240c38a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11933,18 +11933,18 @@ table2-mapping
1193311933
<entry><literal>[{"f1":1},2,null,3]</literal></entry>
1193411934
</row>
1193511935
<row>
11936-
<entry><para><literal>jsonb_set(target jsonb, path text[], new_value jsonb<optional>,<parameter>create_missing</parameter> <type>boolean</type></optional>)</literal>
11936+
<entry><para><literal>jsonb_set(target jsonb, path text[], new_value jsonb<optional>, create_missingboolean</optional>)</literal>
1193711937
</para></entry>
1193811938
<entry><para><type>jsonb</type></para></entry>
1193911939
<entry>
1194011940
Returns <replaceable>target</replaceable>
1194111941
with the section designated by <replaceable>path</replaceable>
1194211942
replaced by <replaceable>new_value</replaceable>, or with
1194311943
<replaceable>new_value</replaceable> added if
11944-
<replaceable>create_missing</replaceable> is true (default is
11944+
<replaceable>create_missing</replaceable> is true (default is
1194511945
<literal>true</literal>) and the item
1194611946
designated by <replaceable>path</replaceable> does not exist.
11947-
As with the pathorientated operators, negative integers that
11947+
As with the pathoriented operators, negative integers that
1194811948
appear in <replaceable>path</replaceable> count from the end
1194911949
of JSON arrays.
1195011950
</entry>
@@ -11958,7 +11958,7 @@ table2-mapping
1195811958
<row>
1195911959
<entry>
1196011960
<para><literal>
11961-
jsonb_insert(target jsonb, path text[], new_value jsonb, <optional><parameter>insert_after</parameter> <type>boolean</type></optional>)
11961+
jsonb_insert(target jsonb, path text[], new_value jsonb <optional>,insert_afterboolean</optional>)
1196211962
</literal></para>
1196311963
</entry>
1196411964
<entry><para><type>jsonb</type></para></entry>
@@ -11973,7 +11973,7 @@ table2-mapping
1197311973
designated by <replaceable>path</replaceable> is in JSONB object,
1197411974
<replaceable>new_value</replaceable> will be inserted only if
1197511975
<replaceable>target</replaceable> does not exist. As with the path
11976-
orientated operators, negative integers that appear in
11976+
oriented operators, negative integers that appear in
1197711977
<replaceable>path</replaceable> count from the end of JSON arrays.
1197811978
</entry>
1197911979
<entry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp