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

Method CreateBulk

ent/client.go:2700–2702  ·  view source on GitHub ↗

CreateBulk returns a builder for creating a bulk of Task entities.

(builders ...*TaskCreate)

Source from the content-addressed store, hash-verified

2698
2699// CreateBulk returns a builder for creating a bulk of Task entities.
2700func (c *TaskClient) CreateBulk(builders ...*TaskCreate) *TaskCreateBulk {
2701 return &TaskCreateBulk{config: c.config, builders: builders}
2702}
2703
2704// MapCreateBulk creates a bulk creation builder from the given slice. For each item in the slice, the function creates
2705// a builder and applies setFunc on it.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected