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

Method Create

ent/client.go:2328–2331  ·  view source on GitHub ↗

Create returns a builder for creating a Share entity.

()

Source from the content-addressed store, hash-verified

2326
2327// Create returns a builder for creating a Share entity.
2328func (c *ShareClient) Create() *ShareCreate {
2329 mutation := newShareMutation(c.config, OpCreate)
2330 return &ShareCreate{config: c.config, hooks: c.Hooks(), mutation: mutation}
2331}
2332
2333// CreateBulk returns a builder for creating a bulk of Share entities.
2334func (c *ShareClient) CreateBulk(builders ...*ShareCreate) *ShareCreateBulk {

Callers 1

MapCreateBulkMethod · 0.95

Calls 2

HooksMethod · 0.95
newShareMutationFunction · 0.85

Tested by

no test coverage detected