## `whereWeek`
此方法用于指定查询周数据
## 示例:
>[info] 查询本周注册的用户
~~~
db.name('user').whereWeek('addtime').select()
~~~
>[info] 查询上周注册的用户
~~~
db.name('user').whereWeek('addtime', 'last week').select()
~~~
>[info] 查询2021-01-01到2021-01-07注册的用户
~~~
db.name('user').whereWeek('addtime', '2021-01-01').select()
~~~
>[danger] `addtime` 必须是时间字段
- 连接数据库
- 链式操作方法
- distinct
- field
- withoutField
- name
- alias
- force
- join
- leftJoin
- rightJoin
- union
- unionAll
- where
- whereOr
- whereTime
- whereBetweenTime
- whereNotBetweenTime
- whereBetweenTimeField
- whereNotBetweenTimeField
- whereYear
- whereMonth
- whereWeek
- whereDay
- group
- having
- order
- orderRand
- limit
- page
- lock
- comment
- ignore
- inc
- dec
- fetchSql
- 查询数据
- 聚合查询
- 新增数据
- 更新数据
- 删除数据
- 原生操作