#355 - ENH: Add notIn(...) expressions. Just to make life easier in those cases

This commit is contained in:
Robin Bygrave committed 2015-07-27 20:39:34 +12:00
1 parent 5a55b5235d
commit 87b485cfa4
9 files changed
+237 -22

No files matched your search

@@ -475,6 +475,24 @@ public class DefaultExpressionList<T> implements SpiExpressionList<T> {
return this;
}
@Override
public ExpressionList<T> notIn(String propertyName, Object... values) {
add(expr.notIn(propertyName, values));
return this;
}
@Override
public ExpressionList<T> notIn(String propertyName, Collection<?> values) {
add(expr.notIn(propertyName, values));
return this;
}
@Override
public ExpressionList<T> notIn(String propertyName, Query<?> subQuery) {
add(expr.notIn(propertyName, subQuery));
return this;
}
@Override
public ExpressionList<T> exists(Query<?> subQuery) {
add(expr.exists(subQuery));