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

Commit4fa1d89

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 parent775578a commit4fa1d89

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12497,18 +12497,18 @@ table2-mapping
1249712497
<entry><literal>[{"f1":1},2,null,3]</literal></entry>
1249812498
</row>
1249912499
<row>
12500-
<entry><para><literal>jsonb_set(target jsonb, path text[], new_value jsonb<optional>,<parameter>create_missing</parameter> <type>boolean</type></optional>)</literal>
12500+
<entry><para><literal>jsonb_set(target jsonb, path text[], new_value jsonb<optional>, create_missingboolean</optional>)</literal>
1250112501
</para></entry>
1250212502
<entry><para><type>jsonb</type></para></entry>
1250312503
<entry>
1250412504
Returns <replaceable>target</replaceable>
1250512505
with the section designated by <replaceable>path</replaceable>
1250612506
replaced by <replaceable>new_value</replaceable>, or with
1250712507
<replaceable>new_value</replaceable> added if
12508-
<replaceable>create_missing</replaceable> is true (default is
12508+
<replaceable>create_missing</replaceable> is true (default is
1250912509
<literal>true</literal>) and the item
1251012510
designated by <replaceable>path</replaceable> does not exist.
12511-
As with the pathorientated operators, negative integers that
12511+
As with the pathoriented operators, negative integers that
1251212512
appear in <replaceable>path</replaceable> count from the end
1251312513
of JSON arrays.
1251412514
</entry>
@@ -12522,7 +12522,7 @@ table2-mapping
1252212522
<row>
1252312523
<entry>
1252412524
<para><literal>
12525-
jsonb_insert(target jsonb, path text[], new_value jsonb, <optional><parameter>insert_after</parameter> <type>boolean</type></optional>)
12525+
jsonb_insert(target jsonb, path text[], new_value jsonb <optional>,insert_afterboolean</optional>)
1252612526
</literal></para>
1252712527
</entry>
1252812528
<entry><para><type>jsonb</type></para></entry>
@@ -12537,7 +12537,7 @@ table2-mapping
1253712537
designated by <replaceable>path</replaceable> is in JSONB object,
1253812538
<replaceable>new_value</replaceable> will be inserted only if
1253912539
<replaceable>target</replaceable> does not exist. As with the path
12540-
orientated operators, negative integers that appear in
12540+
oriented operators, negative integers that appear in
1254112541
<replaceable>path</replaceable> count from the end of JSON arrays.
1254212542
</entry>
1254312543
<entry>
@@ -12578,10 +12578,10 @@ table2-mapping
1257812578
<row>
1257912579
<entry>
1258012580
<para><literal>
12581-
jsonb_path_exists(target jsonb, path jsonpath[, vars jsonb[, silent bool]])
12581+
jsonb_path_exists(target jsonb, path jsonpath<optional>, vars jsonb<optional>, silent bool</optional></optional>)
1258212582
</literal></para>
1258312583
<para><literal>
12584-
jsonb_path_exists_tz(target jsonb, path jsonpath[, vars jsonb, silent bool])
12584+
jsonb_path_exists_tz(target jsonb, path jsonpath<optional>, vars jsonb <optional>, silent bool</optional></optional>)
1258512585
</literal></para>
1258612586
</entry>
1258712587
<entry><type>boolean</type></entry>
@@ -12601,10 +12601,10 @@ table2-mapping
1260112601
<row>
1260212602
<entry>
1260312603
<para><literal>
12604-
jsonb_path_match(target jsonb, path jsonpath[, vars jsonb, silent bool])
12604+
jsonb_path_match(target jsonb, path jsonpath<optional>, vars jsonb <optional>, silent bool</optional></optional>)
1260512605
</literal></para>
1260612606
<para><literal>
12607-
jsonb_path_match_tz(target jsonb, path jsonpath[, vars jsonb, silent bool])
12607+
jsonb_path_match_tz(target jsonb, path jsonpath<optional>, vars jsonb <optional>, silent bool</optional></optional>)
1260812608
</literal></para>
1260912609
</entry>
1261012610
<entry><type>boolean</type></entry>
@@ -12625,10 +12625,10 @@ table2-mapping
1262512625
<row>
1262612626
<entry>
1262712627
<para><literal>
12628-
jsonb_path_query(target jsonb, path jsonpath[, vars jsonb, silent bool])
12628+
jsonb_path_query(target jsonb, path jsonpath<optional>, vars jsonb <optional>, silent bool</optional></optional>)
1262912629
</literal></para>
1263012630
<para><literal>
12631-
jsonb_path_query_tz(target jsonb, path jsonpath[, vars jsonb, silent bool])
12631+
jsonb_path_query_tz(target jsonb, path jsonpath<optional>, vars jsonb <optional>, silent bool</optional></optional>)
1263212632
</literal></para>
1263312633
</entry>
1263412634
<entry><type>setof jsonb</type></entry>
@@ -12656,10 +12656,10 @@ table2-mapping
1265612656
<row>
1265712657
<entry>
1265812658
<para><literal>
12659-
jsonb_path_query_array(target jsonb, path jsonpath[, vars jsonb, silent bool])
12659+
jsonb_path_query_array(target jsonb, path jsonpath<optional>, vars jsonb <optional>, silent bool</optional></optional>)
1266012660
</literal></para>
1266112661
<para><literal>
12662-
jsonb_path_query_array_tz(target jsonb, path jsonpath[, vars jsonb, silent bool])
12662+
jsonb_path_query_array_tz(target jsonb, path jsonpath<optional>, vars jsonb <optional>, silent bool</optional></optional>)
1266312663
</literal></para>
1266412664
</entry>
1266512665
<entry><type>jsonb</type></entry>
@@ -12679,10 +12679,10 @@ table2-mapping
1267912679
<row>
1268012680
<entry>
1268112681
<para><literal>
12682-
jsonb_path_query_first(target jsonb, path jsonpath[, vars jsonb, silent bool])
12682+
jsonb_path_query_first(target jsonb, path jsonpath<optional>, vars jsonb <optional>, silent bool</optional></optional>)
1268312683
</literal></para>
1268412684
<para><literal>
12685-
jsonb_path_query_first_tz(target jsonb, path jsonpath[, vars jsonb, silent bool])
12685+
jsonb_path_query_first_tz(target jsonb, path jsonpath<optional>, vars jsonb <optional>, silent bool</optional></optional>)
1268612686
</literal></para>
1268712687
</entry>
1268812688
<entry><type>jsonb</type></entry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp