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

Method CreateBulk

ent/client.go:1579–1581  ·  view source on GitHub ↗

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

(builders ...*NodeCreate)

Source from the content-addressed store, hash-verified

1577
1578// CreateBulk returns a builder for creating a bulk of Node entities.
1579func (c *NodeClient) CreateBulk(builders ...*NodeCreate) *NodeCreateBulk {
1580 return &NodeCreateBulk{config: c.config, builders: builders}
1581}
1582
1583// MapCreateBulk creates a bulk creation builder from the given slice. For each item in the slice, the function creates
1584// a builder and applies setFunc on it.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected