4.10.3
Added
- Filtering by datetimeinterval:
// Repository:
$match = [
'created_at' => RestifySearchable::MATCH_DATETIME_INTERVAL,
];
Query:
// Use isoString format
GET: /posts?created_at=created_at=2020-12-16T09:48:52.480645Z,2021-02-16T09:48:52.481004Z
This will filter by this interval.
You can also negate this by using - before the column name: -created_at=.