func (qs TaskQuerySet) All(ret *[]Task) error {
	return qs.db.Find(ret).Error
}
All 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)
}