Saulo José Gil
Saulo José Gil
Try with: ```java public static List getAllByYear(int year) { Calendar cal = Calendar.getInstance(); cal.set(year, 0, 1, 0, 0, 0); return new Select() .from(Records.class) .where("data_created >= ?", cal.getTimeInMillis()) .execute(); } ```
You might be interested in https://github.com/zsiegel/ActiveAndroid-Secure
Sounds useful, though I've wondered for a while what were the motivations behind making these methods final. I wish they weren't final so that I could add beforeSave and afterSave...
@joshuapinter @tacoman667 take a look at https://jitpack.io/, it'll let you use your forks in your projects with minimal hassle
You could use 0bae002 too, which will update your database on the fly. Be careful though, make sure to test it with a sizeable data set. Another quick approach (which...
Seems safe to say this project isn't supported anymore, though there are many great improvements on some of its forks. We might try to keep the project updated, so feel...
Please see c1d66ef and 50d3934.
As far as I know SQLite doesn't support column deletions.
https://github.com/Sebbia/ActiveAndroid seems to be the best fork at the moment.
This might be a bug or a feature, but that's beyond the point. Please take a look at 50d3934 and also c1d66ef.