Symfony: Doctrine multiple (whereIn OR whereIn) query?

Doctrine multiple (whereIn OR whereIn) query

$q = Doctrine_Query::create()
->from (‘task’)
->where (‘status_id =?’, 1)
->andWhere (‘main_user_id = ‘.mineUser::getId().’ OR alt_user_id = ‘.mineUser::getId())
;