I am using Laravel 5.5, I need to form a query where only date part of a datetime column should be matched, equivalent of date(date_col)='2018-01-01'
kind of thing. How do I achieve this in Eloquent way? WhereDate()
returns date part but is there some way to merge both?
Thanks