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

Method Mutation

ent/setting_create.go:88–90  ·  view source on GitHub ↗

Mutation returns the SettingMutation object of the builder.

()

Source from the content-addressed store, hash-verified

86
87// Mutation returns the SettingMutation object of the builder.
88func (sc *SettingCreate) Mutation() *SettingMutation {
89 return sc.mutation
90}
91
92// Save creates the Setting in the database.
93func (sc *SettingCreate) Save(ctx context.Context) (*Setting, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected