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

Method Exec

ent/setting_create.go:110–113  ·  view source on GitHub ↗

Exec executes the query.

(ctx context.Context)

Source from the content-addressed store, hash-verified

108
109// Exec executes the query.
110func (sc *SettingCreate) Exec(ctx context.Context) error {
111 _, err := sc.Save(ctx)
112 return err
113}
114
115// ExecX is like Exec, but panics if an error occurs.
116func (sc *SettingCreate) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected