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

Commit2b67bdc

Browse files
committed
SQL/JSON: Update example in JSON_QUERY() documentation
Commite6c45d8 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 parent4d8489f commit2b67bdc

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
@@ -18883,7 +18883,7 @@ ERROR: jsonpath array subscript is out of bounds
1888318883
</para>
1888418884
<para>
1888518885
<literal>JSON_QUERY(jsonb '[1,[2,3],null]', 'lax $[*][$off]' PASSING 1 AS off WITH CONDITIONAL WRAPPER)</literal>
18886-
<returnvalue>[3]</returnvalue>
18886+
<returnvalue>3</returnvalue>
1888718887
</para>
1888818888
<para>
1888918889
<literal>JSON_QUERY(jsonb '{"a": "[1, 2]"}', 'lax $.a' OMIT QUOTES)</literal>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp