Ailon 5年前

修改理由:

少了一个单引号

相关信息:


此投稿已在 5年前 合并。

内容修改:

红色背景 为原始内容

绿色背景 为新增或者修改的内容

OldNewDifferences
391391`whereMonth` 方法用于比较字段值与一年中指定的月份:
392392
393393   $users = DB::table('users')
394                    ->whereMonth('created_at', 9')
 394                   ->whereMonth('created_at', '9')
395395                   ->get();
396396
397397`whereDay`方法用于比较字段值与一月中指定的日期: