jsonb_path_match ( target jsonb, path jsonpath [, vars jsonb [, silent boolean ]] ) → booleanReturns the SQL boolean result of a JSON path predicate check for the specified JSON value. (This is useful only with predicate check expressions, not SQL-standard JSON path expressions, since it will either fail or return
NULL if the path result is not a single boolean value.) The optional vars and silent arguments act the same as for jsonb_path_exists.jsonb_path_match('{"a":[1,2,3,4,5]}', 'exists($.a[*] ? (@ >= $min && @ <= $max))', '{"min":2, "max":4}') → t