$submodules = Modules::find( array( 'moduleid in (:mods:) and parentid = :parentid:', 'bind' => array( 'mods' => '1,2', 'parentid' => 1 ), 'bindtype' => array( 'mods' => Column::BIND_PARAM_STR, 'parentid' => Column::BIND_PARAM_INT ) ) ); I hope the sql that is "select * from modules where moduleid in (1,2) and parentid = 1" but result is not correct.
help plz.