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

Commit26cf324

Browse files
committed
doc: Fix typo in example query of SQL/JSON
Author: Erik RijkersDiscussion:https://postgr.es/m/1219476687.20432.1617452918468@webmailclassic.xs4all.nlBackpatch-through: 12
1 parenta7fcb62 commit26cf324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/json.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ CREATE INDEX idxgintags ON api USING GIN ((jdoc -> 'tags'));
487487
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @@ '$.tags[*] == "qui"';
488488
</programlisting>
489489
<programlisting>
490-
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @@ '$.tags[*] ? (@ == "qui")';
490+
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @? '$.tags[*] ? (@ == "qui")';
491491
</programlisting>
492492
GIN index extracts statements of following form out of
493493
<literal>jsonpath</literal>: <replaceable>accessors_chain</replaceable> = <replaceable>const</replaceable>.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp