Solar_Sql_Select::innerJoin()

public Solar_Sql_Select Solar_Sql_Select::innerJoin ( string|object $spec , string $cond , array|string $cols = NULL )

Adds an INNER 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 an INNER JOIN table and columns to the query.



Local