Skip to content

Commit 83180b4

Browse files
authored
Update QueryGroup.java
1 parent efbe874 commit 83180b4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/org/javawebstack/orm/query/QueryGroup.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@ public QueryGroup<T> isNull(Object left) {
7979
public QueryGroup<T> notNull(Object left) {
8080
return where(left, "IS NOT NULL", null);
8181
}
82+
83+
public QueryGroup<T> whereNull(Object left) {
84+
return where(left, "IS NULL", null);
85+
}
86+
87+
public QueryGroup<T> whereNotNull(Object left) {
88+
return where(left, "IS NOT NULL", null);
89+
}
8290

8391
public QueryGroup<T> lessThan(Object left, Object right) {
8492
return where(left, "<", right);

0 commit comments

Comments
 (0)