public join (mixed $model, [mixed $conditions], [mixed $alias], [mixed $type])
Adds an INNER join to the query
1 2 3 4 | $criteria ->join( 'Robots' ); $criteria ->join( 'Robots' , 'r.id = RobotsParts.robots_id' ); $criteria ->join( 'Robots' , 'r.id = RobotsParts.robots_id' , 'r' ); $criteria ->join( 'Robots' , 'r.id = RobotsParts.robots_id' , 'r' , 'LEFT' ); |
Please login to continue.