File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17125,8 +17125,8 @@ ERROR: value too long for type character(2)
17125
17125
<returnvalue>boolean</returnvalue>
17126
17126
</para>
17127
17127
<para>
17128
- Returns the result of a JSON path predicate check for the specified
17129
- JSON value.
17128
+ Returns the SQL boolean result of a JSON path predicate check
17129
+ for the specified JSON value.
17130
17130
(This is useful only
17131
17131
with <link linkend="functions-sqljson-check-expressions">predicate
17132
17132
check expressions</link>, not SQL-standard JSON path expressions,
@@ -17593,9 +17593,9 @@ SELECT '{
17593
17593
Boolean predicate, whereas the SQL standard allows predicates only within
17594
17594
filters. While SQL-standard path expressions return the relevant
17595
17595
element(s) of the queried JSON value, predicate check expressions
17596
- return the single three-valued result of the
17596
+ return the single three-valued <type>jsonb</type> result of the
17597
17597
predicate: <literal>true</literal>,
17598
- <literal>false</literal>, or <literal>unknown </literal>.
17598
+ <literal>false</literal>, or <literal>null </literal>.
17599
17599
For example, we could write this SQL-standard filter expression:
17600
17600
<screen>
17601
17601
<prompt>=></prompt> <userinput>select jsonb_path_query(:'json', '$.track.segments ?(@[*].HR > 130)');</userinput>
You can’t perform that action at this time.
0 commit comments