Bluz\Db\Query\Select::innerJoin
Creates and adds a join to the query
Example <code> $sb = new Select(); $sb ->select('u.name') ->from('users', 'u') ->innerJoin('u', 'phone', 'p', 'p.is_primary = 1'); </code>
Signature
public function innerJoin(string
$fromAlias,
string
$join,
string
$alias,
[string
$condition = NULL] )
Parameters
$fromAlias
— string- the alias that points to a from clause
$join
— string- the table name to join
$alias
— string- the alias of the join table
$condition
— string- the condition for the join
Returns
- Select
- instance