Illuminate\Database\Query\Builder::leftJoinWhere PHP Method

leftJoinWhere() public method

Add a "join where" clause to the query.
public leftJoinWhere ( string $table, string $one, string $operator, string $two ) : Builder | static
$table string
$one string
$operator string
$two string
return Builder | static
    public function leftJoinWhere($table, $one, $operator, $two)
    {
        return $this->joinWhere($table, $one, $operator, $two, 'left');
    }

Usage Example

Exemplo n.º 1
0
 /**
  * Add a "join where" clause to the query.
  *
  * @param string $table
  * @param string $one
  * @param string $operator
  * @param string $two
  * @return \Illuminate\Database\Query\Builder|static 
  * @static 
  */
 public static function leftJoinWhere($table, $one, $operator, $two)
 {
     return \Illuminate\Database\Query\Builder::leftJoinWhere($table, $one, $operator, $two);
 }