Documentation ¶
Index ¶
- func Add(task models.Task) (int64, error)
- func Count(filters []Filter) (int, error)
- func Delete(filters []Filter) ([]int, error)
- func Edit(filters []Filter, edits []QueryEdit) ([]int, error)
- func GetDB() (*gorm.DB, error)
- func ListProjects() ([]models.Project, error)
- func Migrate() error
- func SaveIdMapping(storageType models.StorageType, idMap map[int]string) error
- func WithFilters(db *gorm.DB, filters []Filter) *gorm.DB
- type Filter
- type ListTasksResult
- type Operator
- type QueryEdit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListProjects ¶
func SaveIdMapping ¶
func SaveIdMapping(storageType models.StorageType, idMap map[int]string) error
Types ¶
type ListTasksResult ¶
func ListTasks ¶
func ListTasks(filters []Filter) ([]ListTasksResult, error)
Click to show internal directories.
Click to hide internal directories.