安
- 安 2019-03-27 已签到连续签到786天,获得了20个金钱
- 安 2019-03-26 已签到连续签到785天,获得了20个金钱
- 安 2019-03-25 已签到连续签到784天,获得了20个金钱
- 安 2019-03-24 已签到连续签到783天,获得了20个金钱
- 安 2019-03-23 已签到连续签到782天,获得了20个金钱
- 安 2019-03-22 已签到连续签到781天,获得了20个金钱
- 安 2019-03-21 已签到连续签到780天,获得了20个金钱
- 安 回答了问题 请问一下我的 SQL 为什么报错了呢?是哪里的问题呢?
楼上正解,
andWhere($condition, $params = [])
,三个参数值是作为$condition的数组,不存在三个参数的写法,用方法前要看下方法的使用呢。`/*** Adds an additional WHERE condition to the existing one. * The new condition and the existing one will be joined using the `AND` operator. * @param string|array|ExpressionInterface $condition the new WHERE condition. Please refer to [[where()]] * on how to specify this parameter. * @param array $params the parameters (name => value) to be bound to the query. * @return $this the query object itself * @see where() * @see orWhere() */`
- 安 2019-03-20 已签到连续签到779天,获得了20个金钱
- 安 2019-03-19 已签到连续签到778天,获得了20个金钱