mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Fix some typos in jsonpath documentation
Discussion: https://postgr.es/m/8B7FA3B4-328D-43D7-95A8-37B8891B8C78%40winand.at Author: Markus Winand Backpatch-through: 12
This commit is contained in:
parent
68343b4ad7
commit
1f33f211bc
@ -11735,7 +11735,7 @@ table2-mapping
|
|||||||
A path expression can be a Boolean predicate, although the SQL/JSON
|
A path expression can be a Boolean predicate, although the SQL/JSON
|
||||||
standard allows predicates only in filters. This is necessary for
|
standard allows predicates only in filters. This is necessary for
|
||||||
implementation of the <literal>@@</literal> operator. For example,
|
implementation of the <literal>@@</literal> operator. For example,
|
||||||
the following<type>jsonpath</type> expression is valid in
|
the following <type>jsonpath</type> expression is valid in
|
||||||
<productname>PostgreSQL</productname>:
|
<productname>PostgreSQL</productname>:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
'$.track.segments[*].HR < 70'
|
'$.track.segments[*].HR < 70'
|
||||||
@ -12997,7 +12997,7 @@ table2-mapping
|
|||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
<para><literal>
|
<para><literal>
|
||||||
select * jsonb_path_query('{"a":[1,2,3,4,5]}', '$.a[*] ? (@ >= $min && @ <= $max)', '{"min":2,"max":4}');
|
select * from jsonb_path_query('{"a":[1,2,3,4,5]}', '$.a[*] ? (@ >= $min && @ <= $max)', '{"min":2,"max":4}');
|
||||||
</literal></para>
|
</literal></para>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user