Skip to content

Commit

Permalink
New addRaw method in AbstractSelection.
Browse files Browse the repository at this point in the history
  • Loading branch information
BoD committed Apr 19, 2014
1 parent 0bd3311 commit 1b3fb26
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ public abstract class AbstractSelection <T extends AbstractSelection<?>> {
mSelection.append(LT_EQ);
mSelectionArgs.add(valueOf(value));
}

public void addRaw(String raw) {
mSelection.append(" ");
mSelection.append(raw);
mSelection.append(" ");
}

private String valueOf(Object obj) {
if (obj instanceof Date) {
Expand Down

0 comments on commit 1b3fb26

Please sign in to comment.