File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -940,7 +940,7 @@ CREATE INDEX idxgintags ON api USING gin ((jdoc -> 'tags'));
940
940
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @@ '$.tags[*] == "qui"';
941
941
</programlisting>
942
942
<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")';
944
944
</programlisting>
945
945
GIN index extracts statements of following form out of
946
946
<literal>jsonpath</literal>: <replaceable>accessors_chain</replaceable> = <replaceable>const</replaceable>.
@@ -956,7 +956,7 @@ ____________________________________________________________________________-->
956
956
SELECT jdoc->'guid', jdoc->'name' FROM api WHERE jdoc @@ '$.tags[*] == "qui"';
957
957
</programlisting>
958
958
<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")';
960
960
</programlisting>
961
961
GIN 索引从<literal>jsonpath</literal>中提取如下格式的语句: <replaceable>accessors_chain</replaceable> = <replaceable>const</replaceable>。
962
962
存取器链可能由<literal>.key</literal><literal>[*]</literal>, 和 <literal>[<replaceable>index</replaceable>]</literal> 存取器组成。
You can’t perform that action at this time.
0 commit comments