Skip to content

Commit 79c80ad

Browse files
committed
Must honor group by, having, limit and offset for exists.
1 parent 25ea077 commit 79c80ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/com/activeandroid/query/From.java

+4
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,10 @@ public String toExistsSql() {
267267
addFrom(sql);
268268
addJoins(sql);
269269
addWhere(sql);
270+
addGroupBy(sql);
271+
addHaving(sql);
272+
addLimit(sql);
273+
addOffset(sql);
270274

271275
sql.append(")");
272276

0 commit comments

Comments
 (0)