Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Yiiクエリビルダーで以下のクエリを実行したい
$ sql = "select * from user where userid in(1,2,3、)"
plsヘルプ..
以下のように必要なすべて
$data = Yii::app()->db->createCommand()->select('*')->from('user')->where(array('in', 'userid', array(1, 2,3)))->queryAll();