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

Method Mutation

ent/user_create.go:303–305  ·  view source on GitHub ↗

Mutation returns the UserMutation object of the builder.

()

Source from the content-addressed store, hash-verified

301
302// Mutation returns the UserMutation object of the builder.
303func (uc *UserCreate) Mutation() *UserMutation {
304 return uc.mutation
305}
306
307// Save creates the User in the database.
308func (uc *UserCreate) Save(ctx context.Context) (*User, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected