androidobjectbox

Is it possible to query for a date property in objectbox?


I'm trying to query my data for distinct dates. I've found property searches, but it doesn't look like they currently support searching for dates. Is there any way around this without having to store dates as a long or having to query the entire list and filtering it down? Even returning a list of entire objects where it grabs the first for each distinct date would be workable.


Solution

  • Please open a feature request via GitHub issues. I'd suggest to query for long values, and create an array/list of dates using those.