#422 - ENH: Add jsonBetween() expression

This commit is contained in:
Robin Bygrave committed 2015-09-22 12:32:46 +12:00
1 parent d022e4aec8
commit 11301846be
7 files changed
+70 -1

No files matched your search

@@ -435,6 +435,15 @@ public class DefaultExpressionList<T> implements SpiExpressionList<T> {
return this;
}
/**
* Between - for the given path in a JSON document.
*/
@Override
public ExpressionList<T> jsonBetween(String propertyName, String path, Object lowerValue, Object upperValue){
add(expr.jsonBetween(propertyName, path, lowerValue, upperValue));
return this;
}
@Override
public ExpressionList<T> eq(String propertyName, Object value) {
add(expr.eq(propertyName, value));