public function useCategoryQuery($relationAlias = null, $joinType = Criteria::INNER_JOIN)
    {
        return $this
            ->joinCategory($relationAlias, $joinType)
            ->useQuery($relationAlias ? $relationAlias : 'Category', '\Attogram\SharedMedia\Orm\CategoryQuery');
    }
public function useCategoryQuery($relationAlias = null, $joinType = Criteria::INNER_JOIN)
    {
        return $this
            ->joinCategory($relationAlias, $joinType)
            ->useQuery($relationAlias ? $relationAlias : 'Category', '\Attogram\SharedMedia\Orm\CategoryQuery');
    }
public function useCategoryQuery ( $ relationAlias = null , $ joinType = Criteria :: INNER_JOIN ) { return $ this -> joinCategory ( $ relationAlias , $ joinType ) -> useQuery ( $ relationAlias ? $ relationAlias : 'Category' , '\Attogram\SharedMedia\Orm\CategoryQuery' ) ; }
Use the Category relation Category object

@see useQuery()

@param     string $relationAlias optional alias for the relation,
to be used as main alias in the secondary query
@param     string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

@return \Attogram\SharedMedia\Orm\CategoryQuery A secondary query class using the current class as primary query
Use the Category relation Category object