MCPcopy Index your code
hub / github.com/aiprodcoder/MIXAPI / TaskBulkUpdate

Function TaskBulkUpdate

model/task.go:243–250  ·  view source on GitHub ↗
(TaskIds []string, params map[string]any)

Source from the content-addressed store, hash-verified

241}
242
243func TaskBulkUpdate(TaskIds []string, params map[string]any) error {
244 if len(TaskIds) == 0 {
245 return nil
246 }
247 return DB.Model(&Task{}).
248 Where("task_id in (?)", TaskIds).
249 Updates(params).Error
250}
251
252func TaskBulkUpdateByTaskIds(taskIDs []int64, params map[string]any) error {
253 if len(taskIDs) == 0 {

Callers 2

updateVideoTaskAllFunction · 0.92
updateSunoTaskAllFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected