Solar_Sql_Select::leftJoinSelect()
public
Solar_Sql_Select
Solar_Sql_Select::leftJoinSelect
( string|Solar_Sql_Select $spec
, string $name
, string $cond
, array|string $cols = NULL
)
Adds a LEFT JOIN sub-select and columns to the query.
Parameters
(string|Solar_Sql_Select)
$spec
: If a Solar_Sql_Select object, use as the sub-select; if a string, the sub-select command string.(string)
$name
: The alias name for the sub-select.(string)
$cond
: Join on this condition.(array|string)
$cols
: The columns to select from the joined table.
Returns
(Solar_Sql_Select)
Description
Adds a LEFT JOIN sub-select and columns to the query.