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

Method CreateBulk

ent/client.go:1110–1112  ·  view source on GitHub ↗

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

(builders ...*FsEventCreate)

Source from the content-addressed store, hash-verified

1108
1109// CreateBulk returns a builder for creating a bulk of FsEvent entities.
1110func (c *FsEventClient) CreateBulk(builders ...*FsEventCreate) *FsEventCreateBulk {
1111 return &FsEventCreateBulk{config: c.config, builders: builders}
1112}
1113
1114// MapCreateBulk creates a bulk creation builder from the given slice. For each item in the slice, the function creates
1115// a builder and applies setFunc on it.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected