aiweimeng
- aiweimeng 2019-03-26 已签到连续签到2天,获得了10个金钱
- aiweimeng 赞了说说此时此刻一切都是静寂的,只剩下我与你的世界
- aiweimeng 2019-03-25 已签到连续签到1天,获得了5个金钱
- aiweimeng 发表了说说昨天去了浐灞湿地公园,欣赏了动人的春色,很是开心。
- aiweimeng 赞了回答
楼上正解,
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() */`