Pheasant\Query\Query::rightJoin PHP Method

rightJoin() public method

Adds a RIGHT JOIN clause, either with a {@link Query} object or raw sql
public rightJoin ( $mixed, $criteria, $alias = '' )
    public function rightJoin($mixed, $criteria, $alias = '')
    {
        if (is_string($mixed) && strpos($mixed, " ") !== false) {
            throw new \InvalidArgumentException("Invalid table name '{$mixed}'. Possibly use alias parameter instead?");
        }
        return $this->_join('RIGHT JOIN', $mixed, $criteria, $alias);
    }