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

Method Mutation

ent/entity_create.go:190–192  ·  view source on GitHub ↗

Mutation returns the EntityMutation object of the builder.

()

Source from the content-addressed store, hash-verified

188
189// Mutation returns the EntityMutation object of the builder.
190func (ec *EntityCreate) Mutation() *EntityMutation {
191 return ec.mutation
192}
193
194// Save creates the Entity in the database.
195func (ec *EntityCreate) Save(ctx context.Context) (*Entity, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected