(mjIds []string, params map[string]any)
| 158 | } |
| 159 | |
| 160 | func MjBulkUpdate(mjIds []string, params map[string]any) error { |
| 161 | return DB.Model(&Midjourney{}). |
| 162 | Where("mj_id in (?)", mjIds). |
| 163 | Updates(params).Error |
| 164 | } |
| 165 | |
| 166 | func MjBulkUpdateByTaskIds(taskIDs []int, params map[string]any) error { |
| 167 | return DB.Model(&Midjourney{}). |
no outgoing calls
no test coverage detected