Skip to content

Commit

Permalink
Must honor group by, having, limit and offset for exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpfeiffermway committed Apr 17, 2014
1 parent 25ea077 commit 79c80ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/com/activeandroid/query/From.java
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ public String toExistsSql() {
addFrom(sql);
addJoins(sql);
addWhere(sql);
addGroupBy(sql);
addHaving(sql);
addLimit(sql);
addOffset(sql);

sql.append(")");

Expand Down

0 comments on commit 79c80ad

Please sign in to comment.