Skip to content

Commit cfb3beb

Browse files
committed
Fixed broken code from last merge
1 parent daedc14 commit cfb3beb

File tree

1 file changed

+4
-2
lines changed
  • src/main/java/org/javawebstack/orm/query

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,13 @@ public Query<T> notNull(Object left) {
166166
}
167167

168168
public Query<T> whereNull(Object left) {
169-
return where.isNull(left);
169+
where.isNull(left);
170+
return this;
170171
}
171172

172173
public Query<T> whereNotNull(Object left) {
173-
return where.notNull(left);
174+
where.notNull(left);
175+
return this;
174176
}
175177

176178
public Query<T> lessThan(Object left, Object right) {

0 commit comments

Comments
 (0)