MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / DeleteByIDs

Method DeleteByIDs

inventory/task.go:120–123  ·  view source on GitHub ↗
(ctx context.Context, ids ...int)

Source from the content-addressed store, hash-verified

118}
119
120func (c *taskClient) DeleteByIDs(ctx context.Context, ids ...int) error {
121 _, err := c.client.Task.Delete().Where(task.IDIn(ids...)).Exec(ctx)
122 return err
123}
124
125func (c *taskClient) DeleteBy(ctx context.Context, args *DeleteTaskArgs) error {
126 query := c.client.Task.

Callers

nothing calls this directly

Calls 4

IDInFunction · 0.92
ExecMethod · 0.65
DeleteMethod · 0.65
WhereMethod · 0.45

Tested by

no test coverage detected