public function leftJoin($foreign_table, $defaults = [])
    {
        if (!is_array($defaults)) {
            $defaults = ['master_field' => $defaults];
        }
        $defaults['weak'] = true;

        return $this->join($foreign_table, $defaults);
    }
public function leftJoin($foreign_table, $defaults = [])
    {
        if (!is_array($defaults)) {
            $defaults = ['master_field' => $defaults];
        }
        $defaults['weak'] = true;

        return $this->join($foreign_table, $defaults);
    }
public function leftJoin ( $ foreign_table , $ defaults = [ ] ) { if ( ! is_array ( $ defaults ) ) { $ defaults = [ 'master_field' => $ defaults ] ; } $ defaults [ 'weak' ] = true ; return $ this -> join ( $ foreign_table , $ defaults ) ; }
Left Join support.

@see join()

@param string $foreign_table
@param array  $defaults

@throws \atk4\core\Exception

@return Join
Left Join support .