aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/iciql
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/iciql')
-rw-r--r--src/main/java/com/iciql/Query.java10
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());
}