diff options
Diffstat (limited to 'src/main/java/com/iciql/QueryWhere.java')
-rw-r--r-- | src/main/java/com/iciql/QueryWhere.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/com/iciql/QueryWhere.java b/src/main/java/com/iciql/QueryWhere.java index 16f1397..de6ecd4 100644 --- a/src/main/java/com/iciql/QueryWhere.java +++ b/src/main/java/com/iciql/QueryWhere.java @@ -605,4 +605,12 @@ public class QueryWhere<T> { return query.selectCount();
}
+ public <X> List<ValueCount<X>> selectCount(X x) {
+ return query.selectCount(x, false);
+ }
+
+ public <X> List<ValueCount<X>> selectCountDesc(X x) {
+ return query.selectCount(x, true);
+ }
+
}
|