turbomanage / storm-gen

Simple ORM for Android SQLite
Apache License 2.0
83 stars 15 forks source link

Improve FilterBuilder by adding gt / ls / order by #4

Open turbomanage opened 10 years ago

turbomanage commented 10 years ago

From https://code.google.com/p/storm-gen/issues/detail?id=17

Reported by oturpin@ipsosenso.com, Jan 31, 2013 FilterBuilder could support a broader scope of "predicate"

Adding greater/ less than / order by / limit could be really helpful

objetList = dao.filter() .eq(Columns._GENDER, 1) .gt(Columns.USERCOUNT, 1) .lt(Columns.USERCOUNT, 5) .list(2); // inject limit / offset...

Jan 31, 2013 Delete comment Project Member #1 turbomanage (No comment was entered for this change.) Status: Accepted Feb 21, 2013 Delete comment #2 jens.knutson David:

I was at the stORM talk last night, and you said I should make sure that there's a bug open for limiting and ordering results.

Those features are mentioned here already; do you want them to just stay on this bug, or should they be separated out?

Feb 21, 2013 Delete comment Project Member #3 turbomanage Thanks. They can stay here. I've raised the priority :-)

turbomanage commented 10 years ago

Added order() in https://github.com/turbomanage/storm-gen/commit/ea49fa0922152d7f33717975c7e3c5284078291f