Searching through a table in Yii

Whats the syntax in Yii for searching for a specific row from my database like: SELECT stuff FROM table WHERE user_id=‘3’ and other_id =‘2’ ?

Thank you :)


MyModel::model()->find('user_id = 3 AND other_id = 2');

You really need to read the manual

Thank you very much, I am reading through this right now.