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

Method CreateBulk

ent/client.go:2199–2201  ·  view source on GitHub ↗

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

(builders ...*SettingCreate)

Source from the content-addressed store, hash-verified

2197
2198// CreateBulk returns a builder for creating a bulk of Setting entities.
2199func (c *SettingClient) CreateBulk(builders ...*SettingCreate) *SettingCreateBulk {
2200 return &SettingCreateBulk{config: c.config, builders: builders}
2201}
2202
2203// MapCreateBulk creates a bulk creation builder from the given slice. For each item in the slice, the function creates
2204// a builder and applies setFunc on it.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected