在模型中用数组作为查询条件,_logic 为“IN"为什么不行

浏览:1103 发布日期:2015/09/08 分类:求助交流 关键字: _logic 模型 数组 IN
$conditon = array(
                    'style_name' => I('post.iar_style'),
                    '_logic' => 'IN'
            );
            $style_id = $anime_style->where($conditon)->select();
            
这样执行有错误,why

I('post.iar_style') 这个数据是: "aaa,bbb,ccc"
最佳答案
评论( 相关
后面还有条评论,点击查看>>