📜  laravel eloquent where date today - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:47.239000             🧑  作者: Mango

代码示例3
$items = Item::select("*")
                ->whereDate('created_at', Carbon::today())
                ->get();
   
dd($items);