I have a "dates" field which is a JSON field, array casted in eloquent model.
So, I want to filter rows older or newer than one of the dates listed in this field. I've tried something like this, but it returns empty collection:
$q->where('dates->day', '>=', Carbon::now()->format('Y-m-d'));
Any ideas? Thx!
