sosandstrom / mardao

Mardao is the Java Architect's Dao Generator, for Spring JDBC, AppEngine Datastore and Android SQLite
GNU General Public License v3.0
18 stars 13 forks source link

Add more filter types #8

Closed mattiaslevin closed 9 years ago

mattiaslevin commented 11 years ago

There are only or 1 or 2 filter types, can we all the others for convenience (I know I can create them manually). final Filter filter2 = new Filter(COLUMN_NAME_USERNAME, Query.FilterOperator.NOT_EQUAL, null);

It would also be nice with with a convenience method for making filter queries. Instead of queryIterableKeys(0, -1, null, null, null, false, null, false, filter1, filter2); something like queryIterableKeys(filter1, filter2) with the other values set to default values. Maybe also add a builder class to make it more easy to build non standard queries.

I will see if I make make a suggestion and pull request.

mattiaslevin commented 9 years ago

I think we can close this now.