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

Method CreateBulk

ent/client.go:2501–2503  ·  view source on GitHub ↗

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

(builders ...*StoragePolicyCreate)

Source from the content-addressed store, hash-verified

2499
2500// CreateBulk returns a builder for creating a bulk of StoragePolicy entities.
2501func (c *StoragePolicyClient) CreateBulk(builders ...*StoragePolicyCreate) *StoragePolicyCreateBulk {
2502 return &StoragePolicyCreateBulk{config: c.config, builders: builders}
2503}
2504
2505// MapCreateBulk creates a bulk creation builder from the given slice. For each item in the slice, the function creates
2506// a builder and applies setFunc on it.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected