Relation + Having

Hi all. Some question about AR.

i have this relation:


$relations['images'] = array(self::MANY_MANY, 'Image',

            'object_link(obj_id, link_id)',            

            'having'=>'var_1 = X '

        );


        $relations['seoMeta'] = array(self::MANY_MANY, 'SeoMeta',

            'object_link(obj_id, link_id)',

            'having'=>'var_1 = X '

        );

call


->with(images,seoMeta) 

make following CDbCommand:


HAVING (images.var_1 = X) AND (seoMeta.var_1 = X) 

Question: how to make CDbCommand with "OR", instead of "AND" ?

Best regards

Look at having section:

http://www.yiiframework.com/doc/api/1.1/CDbCriteria