I am storing date fields as date field in Android Room. Of course it converts to timestamp for storing the date in sqlite database.
It looks like this:
I need to get the latest record of yesterday and today's last record (today's will be another query not in the same query).
As you would have seen in the screenshot, the first one is from yesterday and others are from today. So in this table I need two queries that gets the id: 1 and id: 3 records.
How can I achive that?