Eloquent::whereColumn PHP Method

whereColumn() public static method

Add a "where" clause comparing two columns to the query.
public static whereColumn ( string | array $first, string | null $operator = null, string | null $second = null, string | null $boolean = 'and' ) : Builder | static
$first string | array
$operator string | null
$second string | null
$boolean string | null
return Illuminate\Database\Query\Builder | static
        public static function whereColumn($first, $operator = null, $second = null, $boolean = 'and')
        {
            return \Illuminate\Database\Query\Builder::whereColumn($first, $operator, $second, $boolean);
        }
Eloquent