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

Method Exec

ent/task_update.go:464–467  ·  view source on GitHub ↗

Exec executes the query on the entity.

(ctx context.Context)

Source from the content-addressed store, hash-verified

462
463// Exec executes the query on the entity.
464func (tuo *TaskUpdateOne) Exec(ctx context.Context) error {
465 _, err := tuo.Save(ctx)
466 return err
467}
468
469// ExecX is like Exec, but panics if an error occurs.
470func (tuo *TaskUpdateOne) ExecX(ctx context.Context) {

Callers 1

ExecXMethod · 0.95

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected