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

Method Create

ent/client.go:2495–2498  ·  view source on GitHub ↗

Create returns a builder for creating a StoragePolicy entity.

()

Source from the content-addressed store, hash-verified

2493
2494// Create returns a builder for creating a StoragePolicy entity.
2495func (c *StoragePolicyClient) Create() *StoragePolicyCreate {
2496 mutation := newStoragePolicyMutation(c.config, OpCreate)
2497 return &StoragePolicyCreate{config: c.config, hooks: c.Hooks(), mutation: mutation}
2498}
2499
2500// CreateBulk returns a builder for creating a bulk of StoragePolicy entities.
2501func (c *StoragePolicyClient) CreateBulk(builders ...*StoragePolicyCreate) *StoragePolicyCreateBulk {

Callers 1

MapCreateBulkMethod · 0.95

Calls 2

HooksMethod · 0.95
newStoragePolicyMutationFunction · 0.85

Tested by

no test coverage detected