摘要: 1.OR 查询 // 我们要查询id等于1或者id等于3的数据 $userInfo = User::find()->where(['or' , 'id = 1' , 'id = 3'])->all(); // 我们同样可以使用以下方式 $userInfo = User::find()->where( 阅读全文
posted @ 2018-07-14 18:39 Cool.J 阅读(177) 评论(0) 推荐(0) 编辑