Skip to content

Commit 1f33f21

Browse files
committed
Fix some typos in jsonpath documentation
Discussion: https://postgr.es/m/8B7FA3B4-328D-43D7-95A8-37B8891B8C78%40winand.at Author: Markus Winand Backpatch-through: 12
1 parent 68343b4 commit 1f33f21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/func.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11735,7 +11735,7 @@ table2-mapping
1173511735
A path expression can be a Boolean predicate, although the SQL/JSON
1173611736
standard allows predicates only in filters. This is necessary for
1173711737
implementation of the <literal>@@</literal> operator. For example,
11738-
the following<type>jsonpath</type> expression is valid in
11738+
the following <type>jsonpath</type> expression is valid in
1173911739
<productname>PostgreSQL</productname>:
1174011740
<programlisting>
1174111741
'$.track.segments[*].HR &lt; 70'
@@ -12997,7 +12997,7 @@ table2-mapping
1299712997
</entry>
1299812998
<entry>
1299912999
<para><literal>
13000-
select * jsonb_path_query('{"a":[1,2,3,4,5]}', '$.a[*] ? (@ >= $min &amp;&amp; @ &lt;= $max)', '{"min":2,"max":4}');
13000+
select * from jsonb_path_query('{"a":[1,2,3,4,5]}', '$.a[*] ? (@ >= $min &amp;&amp; @ &lt;= $max)', '{"min":2,"max":4}');
1300113001
</literal></para>
1300213002
</entry>
1300313003
<entry>

0 commit comments

Comments
 (0)