Skip to content

Commit 972ee1f

Browse files
authored
Update json.sgml
这个符号是否标错了
1 parent f600cc8 commit 972ee1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgresql/doc/src/sgml/json.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ CREATE INDEX idxgintags ON api USING gin ((jdoc -> 'tags'));
940940
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @@ '$.tags[*] == "qui"';
941941
</programlisting>
942942
<programlisting>
943-
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @@ '$.tags[*] ? (@ == "qui")';
943+
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @? '$.tags[*] ? (@ == "qui")';
944944
</programlisting>
945945
GIN index extracts statements of following form out of
946946
<literal>jsonpath</literal>: <replaceable>accessors_chain</replaceable> = <replaceable>const</replaceable>.
@@ -956,7 +956,7 @@ ____________________________________________________________________________-->
956956
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @@ '$.tags[*] == "qui"';
957957
</programlisting>
958958
<programlisting>
959-
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @@ '$.tags[*] ? (@ == "qui")';
959+
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @? '$.tags[*] ? (@ == "qui")';
960960
</programlisting>
961961
GIN 索引从<literal>jsonpath</literal>中提取如下格式的语句: <replaceable>accessors_chain</replaceable> = <replaceable>const</replaceable>。
962962
存取器链可能由<literal>.key</literal><literal>[*]</literal>, 和 <literal>[<replaceable>index</replaceable>]</literal> 存取器组成。

0 commit comments

Comments
 (0)