Eloquent::whereNested PHP Method

whereNested() public static method

Add a nested where statement to the query.
public static whereNested ( Closure $callback, string $boolean = 'and' ) : Builder | static
$callback Closure
$boolean string
return Illuminate\Database\Query\Builder | static
        public static function whereNested($callback, $boolean = 'and')
        {
            return \Illuminate\Database\Query\Builder::whereNested($callback, $boolean);
        }
Eloquent