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

Commit32ccfa0

Browse files
committed
SQL/JSON: Update example in JSON_QUERY() documentation
Commit2c27346 fixed the behavior of JSON_QUERY() when WITHCONDITIONAL WRAPPER is used, but the documentation example wasn'tupdated to reflect this change. This commit updates the example toshow the correct result.Per off-list report from Andreas Ulbrich.Backpatch-through: 17
1 parent6ea7f04 commit32ccfa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18832,7 +18832,7 @@ ERROR: jsonpath array subscript is out of bounds
1883218832
</para>
1883318833
<para>
1883418834
<literal>JSON_QUERY(jsonb '[1,[2,3],null]', 'lax $[*][$off]' PASSING 1 AS off WITH CONDITIONAL WRAPPER)</literal>
18835-
<returnvalue>[3]</returnvalue>
18835+
<returnvalue>3</returnvalue>
1883618836
</para>
1883718837
<para>
1883818838
<literal>JSON_QUERY(jsonb '{"a": "[1, 2]"}', 'lax $.a' OMIT QUOTES)</literal>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp