public function rightJoin(string $tableName, string $tableAlias, string $condition) : self
    {
        $this->joins['right'][] = ['tableName' => $tableName, 'tableAlias' => $tableAlias, 'condition' => $condition];

        return $this;
    }
public function rightJoin(string $tableName, string $tableAlias, string $condition) : self
    {
        $this->joins['right'][] = ['tableName' => $tableName, 'tableAlias' => $tableAlias, 'condition' => $condition];

        return $this;
    }
public function rightJoin ( string $ tableName , string $ tableAlias , string $ condition ) : self { $ this -> joins [ 'right' ] [ ] = [ 'tableName' => $ tableName , 'tableAlias' => $ tableAlias , 'condition' => $ condition ] ; return $ this ; }
Adds a right join to the query

@param string $tableName The name of the table we're joining
@param string $tableAlias The alias of the table name
@param string $condition The "ON" portion of the join
@return self For method chaining
Adds a right join to the query