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

Method Exec

ent/setting_update.go:281–284  ·  view source on GitHub ↗

Exec executes the query on the entity.

(ctx context.Context)

Source from the content-addressed store, hash-verified

279
280// Exec executes the query on the entity.
281func (suo *SettingUpdateOne) Exec(ctx context.Context) error {
282 _, err := suo.Save(ctx)
283 return err
284}
285
286// ExecX is like Exec, but panics if an error occurs.
287func (suo *SettingUpdateOne) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected