public function crossJoin($table, $first = null, $operator = null, $second = null) { if ($first) { return $this->join($table, $first, $operator, $second, 'cross'); } $this->joins[] = new JoinClause($this, 'cross', $table); return $this; }
/** * Add a "cross join" clause to the query. * * @param string $table * @param string $first * @param string $operator * @param string $second * @return \Illuminate\Database\Query\Builder|static * @static */ public static function crossJoin($table, $first = null, $operator = null, $second = null) { return \Illuminate\Database\Query\Builder::crossJoin($table, $first, $operator, $second); }