diff options
author | James Moger <james.moger@gitblit.com> | 2016-04-07 14:31:16 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2016-04-07 14:31:16 -0400 |
commit | 4d6ad0e9c2f20369bf8766777f3d51f759c2df08 (patch) | |
tree | fdda2c797c719fc38e6905ba8ab08ad20e6386d5 /src/main | |
parent | 6c8336cbb19fd5ba18459dbabb434cf094ccf209 (diff) | |
download | iciql-4d6ad0e9c2f20369bf8766777f3d51f759c2df08.tar.gz iciql-4d6ad0e9c2f20369bf8766777f3d51f759c2df08.zip |
Fixes #24: Add where(String) method to improve interop
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/iciql/Query.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/com/iciql/Query.java b/src/main/java/com/iciql/Query.java index 20d5520..d1528e8 100644 --- a/src/main/java/com/iciql/Query.java +++ b/src/main/java/com/iciql/Query.java @@ -663,6 +663,16 @@ public class Query<T> { return new QueryWhere<T>(this); } + /** + * Begin an string field condition clause explicitly defined for interop clarity. + * + * @param x the mapped string to query + * @return a query condition to continue building the condition + */ + public QueryCondition<T, String> where(String x) { + return new QueryCondition<T, String>(this, x); + } + public QueryWhere<T> where(String fragment, List<?> args) { return this.where(fragment, args.toArray()); } |