Previous Page
join()

Solar_Sql_Select
leftJoin()

Next Page
limit()

leftJoin()

public Solar_Sql_Select leftJoin ( string|object $spec, string $cond, array|string $cols default NULL )

Adds a LEFT JOIN table and columns to the query.

Parameters

  • (string|object) $spec: If a Solar_Sql_Model object, the table to join to; if a string, the table name to join to.
  • (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 table and columns to the query.