func (qs TaskQuerySet) OptUserAgentIn(optUserAgent ...string) TaskQuerySet {
	if len(optUserAgent) == 0 {
		qs.db.AddError(errors.New("must at least pass one optUserAgent in OptUserAgentIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_user_agent IN (?)", optUserAgent))
}
OptUserAgentIn is an autogenerated method
nolint: dupl
package model
import (
	"errors"
	"fmt"
	"time"
	"github.com/jinzhu/gorm"
	"github.com/nange/gospider/common"
)
type TaskQuerySet struct {
	db *gorm.DB
}
func NewTaskQuerySet(db *gorm.DB) TaskQuerySet {
	return TaskQuerySet{
		db: db.Model(&Task{}),
	}
}
func (qs TaskQuerySet) w(db *gorm.DB) TaskQuerySet {
	return NewTaskQuerySet(db)
}
func (qs TaskQuerySet) All(ret *[]Task) error {
	return qs.db.Find(ret).Error
}
func (qs TaskQuerySet) AutoMigrateEq(autoMigrate bool) TaskQuerySet {
	return qs.w(qs.db.Where("auto_migrate = ?", autoMigrate))
}
func (qs TaskQuerySet) AutoMigrateIn(autoMigrate ...bool) TaskQuerySet {
	if len(autoMigrate) == 0 {
		qs.db.AddError(errors.New("must at least pass one autoMigrate in AutoMigrateIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("auto_migrate IN (?)", autoMigrate))
}
func (qs TaskQuerySet) AutoMigrateNe(autoMigrate bool) TaskQuerySet {
	return qs.w(qs.db.Where("auto_migrate != ?", autoMigrate))
}
func (qs TaskQuerySet) AutoMigrateNotIn(autoMigrate ...bool) TaskQuerySet {
	if len(autoMigrate) == 0 {
		qs.db.AddError(errors.New("must at least pass one autoMigrate in AutoMigrateNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("auto_migrate NOT IN (?)", autoMigrate))
}
func (qs TaskQuerySet) Count() (int, error) {
	var count int
	err := qs.db.Count(&count).Error
	return count, err
}
func (qs TaskQuerySet) CountsEq(counts int) TaskQuerySet {
	return qs.w(qs.db.Where("counts = ?", counts))
}
func (qs TaskQuerySet) CountsGt(counts int) TaskQuerySet {
	return qs.w(qs.db.Where("counts > ?", counts))
}
func (qs TaskQuerySet) CountsGte(counts int) TaskQuerySet {
	return qs.w(qs.db.Where("counts >= ?", counts))
}
func (qs TaskQuerySet) CountsIn(counts ...int) TaskQuerySet {
	if len(counts) == 0 {
		qs.db.AddError(errors.New("must at least pass one counts in CountsIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("counts IN (?)", counts))
}
func (qs TaskQuerySet) CountsLt(counts int) TaskQuerySet {
	return qs.w(qs.db.Where("counts < ?", counts))
}
func (qs TaskQuerySet) CountsLte(counts int) TaskQuerySet {
	return qs.w(qs.db.Where("counts <= ?", counts))
}
func (qs TaskQuerySet) CountsNe(counts int) TaskQuerySet {
	return qs.w(qs.db.Where("counts != ?", counts))
}
func (qs TaskQuerySet) CountsNotIn(counts ...int) TaskQuerySet {
	if len(counts) == 0 {
		qs.db.AddError(errors.New("must at least pass one counts in CountsNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("counts NOT IN (?)", counts))
}
func (o *Task) Create(db *gorm.DB) error {
	return db.Create(o).Error
}
func (qs TaskQuerySet) CreatedAtEq(createdAt time.Time) TaskQuerySet {
	return qs.w(qs.db.Where("created_at = ?", createdAt))
}
func (qs TaskQuerySet) CreatedAtGt(createdAt time.Time) TaskQuerySet {
	return qs.w(qs.db.Where("created_at > ?", createdAt))
}
func (qs TaskQuerySet) CreatedAtGte(createdAt time.Time) TaskQuerySet {
	return qs.w(qs.db.Where("created_at >= ?", createdAt))
}
func (qs TaskQuerySet) CreatedAtLt(createdAt time.Time) TaskQuerySet {
	return qs.w(qs.db.Where("created_at < ?", createdAt))
}
func (qs TaskQuerySet) CreatedAtLte(createdAt time.Time) TaskQuerySet {
	return qs.w(qs.db.Where("created_at <= ?", createdAt))
}
func (qs TaskQuerySet) CreatedAtNe(createdAt time.Time) TaskQuerySet {
	return qs.w(qs.db.Where("created_at != ?", createdAt))
}
func (qs TaskQuerySet) CronSpecEq(cronSpec string) TaskQuerySet {
	return qs.w(qs.db.Where("cron_spec = ?", cronSpec))
}
func (qs TaskQuerySet) CronSpecIn(cronSpec ...string) TaskQuerySet {
	if len(cronSpec) == 0 {
		qs.db.AddError(errors.New("must at least pass one cronSpec in CronSpecIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("cron_spec IN (?)", cronSpec))
}
func (qs TaskQuerySet) CronSpecNe(cronSpec string) TaskQuerySet {
	return qs.w(qs.db.Where("cron_spec != ?", cronSpec))
}
func (qs TaskQuerySet) CronSpecNotIn(cronSpec ...string) TaskQuerySet {
	if len(cronSpec) == 0 {
		qs.db.AddError(errors.New("must at least pass one cronSpec in CronSpecNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("cron_spec NOT IN (?)", cronSpec))
}
func (qs TaskQuerySet) Delete() error {
	return qs.db.Delete(Task{}).Error
}
func (o *Task) Delete(db *gorm.DB) error {
	return db.Delete(o).Error
}
func (qs TaskQuerySet) DeleteNum() (int64, error) {
	db := qs.db.Delete(Task{})
	return db.RowsAffected, db.Error
}
func (qs TaskQuerySet) DeleteNumUnscoped() (int64, error) {
	db := qs.db.Unscoped().Delete(Task{})
	return db.RowsAffected, db.Error
}
func (qs TaskQuerySet) GetUpdater() TaskUpdater {
	return NewTaskUpdater(qs.db)
}
func (qs TaskQuerySet) IDEq(ID uint64) TaskQuerySet {
	return qs.w(qs.db.Where("id = ?", ID))
}
func (qs TaskQuerySet) IDGt(ID uint64) TaskQuerySet {
	return qs.w(qs.db.Where("id > ?", ID))
}
func (qs TaskQuerySet) IDGte(ID uint64) TaskQuerySet {
	return qs.w(qs.db.Where("id >= ?", ID))
}
func (qs TaskQuerySet) IDIn(ID ...uint64) TaskQuerySet {
	if len(ID) == 0 {
		qs.db.AddError(errors.New("must at least pass one ID in IDIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("id IN (?)", ID))
}
func (qs TaskQuerySet) IDLt(ID uint64) TaskQuerySet {
	return qs.w(qs.db.Where("id < ?", ID))
}
func (qs TaskQuerySet) IDLte(ID uint64) TaskQuerySet {
	return qs.w(qs.db.Where("id <= ?", ID))
}
func (qs TaskQuerySet) IDNe(ID uint64) TaskQuerySet {
	return qs.w(qs.db.Where("id != ?", ID))
}
func (qs TaskQuerySet) IDNotIn(ID ...uint64) TaskQuerySet {
	if len(ID) == 0 {
		qs.db.AddError(errors.New("must at least pass one ID in IDNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("id NOT IN (?)", ID))
}
func (qs TaskQuerySet) Limit(limit int) TaskQuerySet {
	return qs.w(qs.db.Limit(limit))
}
func (qs TaskQuerySet) LimitDelayEq(limitDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_delay = ?", limitDelay))
}
func (qs TaskQuerySet) LimitDelayGt(limitDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_delay > ?", limitDelay))
}
func (qs TaskQuerySet) LimitDelayGte(limitDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_delay >= ?", limitDelay))
}
func (qs TaskQuerySet) LimitDelayIn(limitDelay ...int) TaskQuerySet {
	if len(limitDelay) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitDelay in LimitDelayIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_delay IN (?)", limitDelay))
}
func (qs TaskQuerySet) LimitDelayLt(limitDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_delay < ?", limitDelay))
}
func (qs TaskQuerySet) LimitDelayLte(limitDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_delay <= ?", limitDelay))
}
func (qs TaskQuerySet) LimitDelayNe(limitDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_delay != ?", limitDelay))
}
func (qs TaskQuerySet) LimitDelayNotIn(limitDelay ...int) TaskQuerySet {
	if len(limitDelay) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitDelay in LimitDelayNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_delay NOT IN (?)", limitDelay))
}
func (qs TaskQuerySet) LimitDomainGlobEq(limitDomainGlob string) TaskQuerySet {
	return qs.w(qs.db.Where("limit_domain_glob = ?", limitDomainGlob))
}
func (qs TaskQuerySet) LimitDomainGlobIn(limitDomainGlob ...string) TaskQuerySet {
	if len(limitDomainGlob) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitDomainGlob in LimitDomainGlobIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_domain_glob IN (?)", limitDomainGlob))
}
func (qs TaskQuerySet) LimitDomainGlobNe(limitDomainGlob string) TaskQuerySet {
	return qs.w(qs.db.Where("limit_domain_glob != ?", limitDomainGlob))
}
func (qs TaskQuerySet) LimitDomainGlobNotIn(limitDomainGlob ...string) TaskQuerySet {
	if len(limitDomainGlob) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitDomainGlob in LimitDomainGlobNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_domain_glob NOT IN (?)", limitDomainGlob))
}
func (qs TaskQuerySet) LimitDomainRegexpEq(limitDomainRegexp string) TaskQuerySet {
	return qs.w(qs.db.Where("limit_domain_regexp = ?", limitDomainRegexp))
}
func (qs TaskQuerySet) LimitDomainRegexpIn(limitDomainRegexp ...string) TaskQuerySet {
	if len(limitDomainRegexp) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitDomainRegexp in LimitDomainRegexpIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_domain_regexp IN (?)", limitDomainRegexp))
}
func (qs TaskQuerySet) LimitDomainRegexpNe(limitDomainRegexp string) TaskQuerySet {
	return qs.w(qs.db.Where("limit_domain_regexp != ?", limitDomainRegexp))
}
func (qs TaskQuerySet) LimitDomainRegexpNotIn(limitDomainRegexp ...string) TaskQuerySet {
	if len(limitDomainRegexp) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitDomainRegexp in LimitDomainRegexpNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_domain_regexp NOT IN (?)", limitDomainRegexp))
}
func (qs TaskQuerySet) LimitEnableEq(limitEnable bool) TaskQuerySet {
	return qs.w(qs.db.Where("limit_enable = ?", limitEnable))
}
func (qs TaskQuerySet) LimitEnableIn(limitEnable ...bool) TaskQuerySet {
	if len(limitEnable) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitEnable in LimitEnableIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_enable IN (?)", limitEnable))
}
func (qs TaskQuerySet) LimitEnableNe(limitEnable bool) TaskQuerySet {
	return qs.w(qs.db.Where("limit_enable != ?", limitEnable))
}
func (qs TaskQuerySet) LimitEnableNotIn(limitEnable ...bool) TaskQuerySet {
	if len(limitEnable) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitEnable in LimitEnableNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_enable NOT IN (?)", limitEnable))
}
func (qs TaskQuerySet) LimitParallelismEq(limitParallelism int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_parallelism = ?", limitParallelism))
}
func (qs TaskQuerySet) LimitParallelismGt(limitParallelism int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_parallelism > ?", limitParallelism))
}
func (qs TaskQuerySet) LimitParallelismGte(limitParallelism int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_parallelism >= ?", limitParallelism))
}
func (qs TaskQuerySet) LimitParallelismIn(limitParallelism ...int) TaskQuerySet {
	if len(limitParallelism) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitParallelism in LimitParallelismIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_parallelism IN (?)", limitParallelism))
}
func (qs TaskQuerySet) LimitParallelismLt(limitParallelism int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_parallelism < ?", limitParallelism))
}
func (qs TaskQuerySet) LimitParallelismLte(limitParallelism int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_parallelism <= ?", limitParallelism))
}
func (qs TaskQuerySet) LimitParallelismNe(limitParallelism int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_parallelism != ?", limitParallelism))
}
func (qs TaskQuerySet) LimitParallelismNotIn(limitParallelism ...int) TaskQuerySet {
	if len(limitParallelism) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitParallelism in LimitParallelismNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_parallelism NOT IN (?)", limitParallelism))
}
func (qs TaskQuerySet) LimitRandomDelayEq(limitRandomDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_random_delay = ?", limitRandomDelay))
}
func (qs TaskQuerySet) LimitRandomDelayGt(limitRandomDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_random_delay > ?", limitRandomDelay))
}
func (qs TaskQuerySet) LimitRandomDelayGte(limitRandomDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_random_delay >= ?", limitRandomDelay))
}
func (qs TaskQuerySet) LimitRandomDelayIn(limitRandomDelay ...int) TaskQuerySet {
	if len(limitRandomDelay) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitRandomDelay in LimitRandomDelayIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_random_delay IN (?)", limitRandomDelay))
}
func (qs TaskQuerySet) LimitRandomDelayLt(limitRandomDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_random_delay < ?", limitRandomDelay))
}
func (qs TaskQuerySet) LimitRandomDelayLte(limitRandomDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_random_delay <= ?", limitRandomDelay))
}
func (qs TaskQuerySet) LimitRandomDelayNe(limitRandomDelay int) TaskQuerySet {
	return qs.w(qs.db.Where("limit_random_delay != ?", limitRandomDelay))
}
func (qs TaskQuerySet) LimitRandomDelayNotIn(limitRandomDelay ...int) TaskQuerySet {
	if len(limitRandomDelay) == 0 {
		qs.db.AddError(errors.New("must at least pass one limitRandomDelay in LimitRandomDelayNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("limit_random_delay NOT IN (?)", limitRandomDelay))
}
func (qs TaskQuerySet) Offset(offset int) TaskQuerySet {
	return qs.w(qs.db.Offset(offset))
}
func (qs TaskQuerySet) One(ret *Task) error {
	return qs.db.First(ret).Error
}
func (qs TaskQuerySet) OptAllowedDomainsEq(optAllowedDomains string) TaskQuerySet {
	return qs.w(qs.db.Where("opt_allowed_domains = ?", optAllowedDomains))
}
func (qs TaskQuerySet) OptAllowedDomainsIn(optAllowedDomains ...string) TaskQuerySet {
	if len(optAllowedDomains) == 0 {
		qs.db.AddError(errors.New("must at least pass one optAllowedDomains in OptAllowedDomainsIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_allowed_domains IN (?)", optAllowedDomains))
}
func (qs TaskQuerySet) OptAllowedDomainsNe(optAllowedDomains string) TaskQuerySet {
	return qs.w(qs.db.Where("opt_allowed_domains != ?", optAllowedDomains))
}
func (qs TaskQuerySet) OptAllowedDomainsNotIn(optAllowedDomains ...string) TaskQuerySet {
	if len(optAllowedDomains) == 0 {
		qs.db.AddError(errors.New("must at least pass one optAllowedDomains in OptAllowedDomainsNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_allowed_domains NOT IN (?)", optAllowedDomains))
}
func (qs TaskQuerySet) OptMaxBodySizeEq(optMaxBodySize int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_body_size = ?", optMaxBodySize))
}
func (qs TaskQuerySet) OptMaxBodySizeGt(optMaxBodySize int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_body_size > ?", optMaxBodySize))
}
func (qs TaskQuerySet) OptMaxBodySizeGte(optMaxBodySize int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_body_size >= ?", optMaxBodySize))
}
func (qs TaskQuerySet) OptMaxBodySizeIn(optMaxBodySize ...int) TaskQuerySet {
	if len(optMaxBodySize) == 0 {
		qs.db.AddError(errors.New("must at least pass one optMaxBodySize in OptMaxBodySizeIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_max_body_size IN (?)", optMaxBodySize))
}
func (qs TaskQuerySet) OptMaxBodySizeLt(optMaxBodySize int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_body_size < ?", optMaxBodySize))
}
func (qs TaskQuerySet) OptMaxBodySizeLte(optMaxBodySize int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_body_size <= ?", optMaxBodySize))
}
func (qs TaskQuerySet) OptMaxBodySizeNe(optMaxBodySize int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_body_size != ?", optMaxBodySize))
}
func (qs TaskQuerySet) OptMaxBodySizeNotIn(optMaxBodySize ...int) TaskQuerySet {
	if len(optMaxBodySize) == 0 {
		qs.db.AddError(errors.New("must at least pass one optMaxBodySize in OptMaxBodySizeNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_max_body_size NOT IN (?)", optMaxBodySize))
}
func (qs TaskQuerySet) OptMaxDepthEq(optMaxDepth int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_depth = ?", optMaxDepth))
}
func (qs TaskQuerySet) OptMaxDepthGt(optMaxDepth int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_depth > ?", optMaxDepth))
}
func (qs TaskQuerySet) OptMaxDepthGte(optMaxDepth int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_depth >= ?", optMaxDepth))
}
func (qs TaskQuerySet) OptMaxDepthIn(optMaxDepth ...int) TaskQuerySet {
	if len(optMaxDepth) == 0 {
		qs.db.AddError(errors.New("must at least pass one optMaxDepth in OptMaxDepthIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_max_depth IN (?)", optMaxDepth))
}
func (qs TaskQuerySet) OptMaxDepthLt(optMaxDepth int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_depth < ?", optMaxDepth))
}
func (qs TaskQuerySet) OptMaxDepthLte(optMaxDepth int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_depth <= ?", optMaxDepth))
}
func (qs TaskQuerySet) OptMaxDepthNe(optMaxDepth int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_max_depth != ?", optMaxDepth))
}
func (qs TaskQuerySet) OptMaxDepthNotIn(optMaxDepth ...int) TaskQuerySet {
	if len(optMaxDepth) == 0 {
		qs.db.AddError(errors.New("must at least pass one optMaxDepth in OptMaxDepthNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_max_depth NOT IN (?)", optMaxDepth))
}
func (qs TaskQuerySet) OptRequestTimeoutEq(optRequestTimeout int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_request_timeout = ?", optRequestTimeout))
}
func (qs TaskQuerySet) OptRequestTimeoutGt(optRequestTimeout int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_request_timeout > ?", optRequestTimeout))
}
func (qs TaskQuerySet) OptRequestTimeoutGte(optRequestTimeout int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_request_timeout >= ?", optRequestTimeout))
}
func (qs TaskQuerySet) OptRequestTimeoutIn(optRequestTimeout ...int) TaskQuerySet {
	if len(optRequestTimeout) == 0 {
		qs.db.AddError(errors.New("must at least pass one optRequestTimeout in OptRequestTimeoutIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_request_timeout IN (?)", optRequestTimeout))
}
func (qs TaskQuerySet) OptRequestTimeoutLt(optRequestTimeout int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_request_timeout < ?", optRequestTimeout))
}
func (qs TaskQuerySet) OptRequestTimeoutLte(optRequestTimeout int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_request_timeout <= ?", optRequestTimeout))
}
func (qs TaskQuerySet) OptRequestTimeoutNe(optRequestTimeout int) TaskQuerySet {
	return qs.w(qs.db.Where("opt_request_timeout != ?", optRequestTimeout))
}
func (qs TaskQuerySet) OptRequestTimeoutNotIn(optRequestTimeout ...int) TaskQuerySet {
	if len(optRequestTimeout) == 0 {
		qs.db.AddError(errors.New("must at least pass one optRequestTimeout in OptRequestTimeoutNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_request_timeout NOT IN (?)", optRequestTimeout))
}
func (qs TaskQuerySet) OptURLFiltersEq(optURLFilters string) TaskQuerySet {
	return qs.w(qs.db.Where("opt_url_filters = ?", optURLFilters))
}
func (qs TaskQuerySet) OptURLFiltersIn(optURLFilters ...string) TaskQuerySet {
	if len(optURLFilters) == 0 {
		qs.db.AddError(errors.New("must at least pass one optURLFilters in OptURLFiltersIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_url_filters IN (?)", optURLFilters))
}
func (qs TaskQuerySet) OptURLFiltersNe(optURLFilters string) TaskQuerySet {
	return qs.w(qs.db.Where("opt_url_filters != ?", optURLFilters))
}
func (qs TaskQuerySet) OptURLFiltersNotIn(optURLFilters ...string) TaskQuerySet {
	if len(optURLFilters) == 0 {
		qs.db.AddError(errors.New("must at least pass one optURLFilters in OptURLFiltersNotIn"))
		return qs.w(qs.db)
	}
	return qs.w(qs.db.Where("opt_url_filters NOT IN (?)", optURLFilters))
}
func (qs TaskQuerySet) OptUserAgentEq(optUserAgent string) TaskQuerySet {
	return qs.w(qs.db.Where("opt_user_agent = ?", optUserAgent))
}