Closed mattbishop closed 1 year ago
In SQL JSONPath, is unknown indicates a predicate cannot be determined to be either true or false. For example, given this array:
is unknown
myArray: ["boo", 5]
This will be true because "boo" is not a number: $.myArray[0] ? (@ > 0) is unknown
true
$.myArray[0] ? (@ > 0) is unknown
This will be false because the actual value can be determined so it is known: $.myArray[1] ? (@ > 0) is unknown
false
$.myArray[1] ? (@ > 0) is unknown
Resolved in #20
In SQL JSONPath,
is unknown
indicates a predicate cannot be determined to be either true or false. For example, given this array:myArray: ["boo", 5]
This will be
true
because "boo" is not a number:$.myArray[0] ? (@ > 0) is unknown
This will be
false
because the actual value can be determined so it is known:$.myArray[1] ? (@ > 0) is unknown