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

Function MjBulkUpdate

model/midjourney.go:160–164  ·  view source on GitHub ↗
(mjIds []string, params map[string]any)

Source from the content-addressed store, hash-verified

158}
159
160func 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
166func MjBulkUpdateByTaskIds(taskIDs []int, params map[string]any) error {
167 return DB.Model(&Midjourney{}).

Callers 1

UpdateMidjourneyTaskBulkFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected