protected function compileUpdateJoinWheres(Builder $query)
    {
        $joinWheres = array();

        foreach ($query->joins as $join) {
            foreach ($join->clauses as $clause) {
                $joinWheres[] = $this->compileJoinConstraint($clause);
            }
        }

        return implode(' ', $joinWheres);
    }