select count(*) from laporan where date(w_laporan) = date(timestamps)
How can I use this query in Laravel 5 query builder? Thanks.
select count(*) from laporan where date(w_laporan) = date(timestamps)
How can I use this query in Laravel 5 query builder? Thanks.
You may try something like this:
Check Raw Expression.