public static function with($relations)
    {
        if (is_string($relations)) $relations = func_get_args();

        $instance = new static;

        return $instance->newQuery()->with($relations);
    }
public static function with($relations)
    {
        if (is_string($relations)) $relations = func_get_args();

        $instance = new static;

        return $instance->newQuery()->with($relations);
    }
public static function with ( $ relations ) { if ( is_string ( $ relations ) ) $ relations = func_get_args ( ) ; $ instance = new static ; return $ instance -> newQuery ( ) -> with ( $ relations ) ; }
Being querying a model with eager loading.

@param  array|string  $relations
@return \Nova\Database\ORM\Builder|static
Being querying a model with eager loading .