MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / TaskBulkUpdateByID

Function TaskBulkUpdateByID

model/task.go:261–268  ·  view source on GitHub ↗
(ids []int64, params map[string]any)

Source from the content-addressed store, hash-verified

259}
260
261func TaskBulkUpdateByID(ids []int64, params map[string]any) error {
262 if len(ids) == 0 {
263 return nil
264 }
265 return DB.Model(&Task{}).
266 Where("id in (?)", ids).
267 Updates(params).Error
268}
269
270type TaskQuotaUsage struct {
271 Mode string `json:"mode"`

Callers 1

UpdateTaskBulkFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected