少了一个单引号
Ailon
5年前
修改理由:
相关信息:
- 类型:文档文章
- 文章: 查询构造器
- 文档: 《Laravel 5.7 中文文档(5.7)》
此投稿已在 5年前 合并。
内容修改:
Old | New | Differences |
---|---|---|
391 | 391 | `whereMonth` 方法用于比较字段值与一年中指定的月份: |
392 | 392 | |
393 | 393 | $users = DB::table('users') |
394 | ->whereMonth('created_at', | |
394 | ->whereMonth('created_at', '9') | |
395 | 395 | ->get(); |
396 | 396 | |
397 | 397 | `whereDay`方法用于比较字段值与一月中指定的日期: |