In SQLITE i had this query:
SELECT * FROM TABLE WHERE LAST_REQUEST > date('now', '-1 day')
Is there some equivalent in Realm to get rows from 1 day or less?
Well technically java.util.Date
is a supported type in Realm, so you'd need to make a date of now and a date of the previous day, and use between.