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

Commitc209975

Browse files
committed
Minor docs fixes for new json functions.
Thom Brown.
1 parent7043ac7 commitc209975

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10309,7 +10309,7 @@ table2-mapping
1030910309
</entry>
1031010310
<entry><type>json</type></entry>
1031110311
<entry>
10312-
Builds a heterogeneouslytyped json array out of a variadic argument list.
10312+
Builds a heterogeneously-typed json array out of a variadic argument list.
1031310313
</entry>
1031410314
<entry><literal>SELECT json_build_array(1,2,'3',4,5);</literal></entry>
1031510315
<entry>
@@ -10329,7 +10329,8 @@ table2-mapping
1032910329
</entry>
1033010330
<entry><type>json</type></entry>
1033110331
<entry>
10332-
Builds a JSON array out of a variadic agument list. By convention, the object is
10332+
Builds a JSON array out of a variadic argument list.
10333+
By convention, the object is
1033310334
constructed out of alternating name/value arguments.
1033410335
</entry>
1033510336
<entry><literal>SELECT json_build_object('foo',1,'bar',2);</literal></entry>
@@ -10371,8 +10372,8 @@ table2-mapping
1037110372
</entry>
1037210373
<entry><type>json</type></entry>
1037310374
<entry>
10374-
The twoargument form of JSON object takes keys and values pairwise from two separate
10375-
arrays. In all other respects it is identical to the oneargument form.
10375+
The two-argument form of JSON object takes keys and values pairwise from two separate
10376+
arrays. In all other respects it is identical to the one-argument form.
1037610377
</entry>
1037710378
<entry><literal>select * from json_object('{a, b}', '{1,2}');</literal></entry>
1037810379
<entry>
@@ -10457,7 +10458,7 @@ table2-mapping
1045710458

1045810459
<note>
1045910460
<para>
10460-
In json_to_record and json_to_recordset, typecoercion from the JSON is
10461+
In json_to_record and json_to_recordset, type-coercion from the JSON is
1046110462
"best effort" and may not result in desired values for some types. JSON
1046210463
elements are matched to identical field names in the record definition,
1046310464
and elements which do not exist in the JSON will simply be NULL. JSON

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp