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

Method ExecX

ent/task_update.go:470–474  ·  view source on GitHub ↗

ExecX is like Exec, but panics if an error occurs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

468
469// ExecX is like Exec, but panics if an error occurs.
470func (tuo *TaskUpdateOne) ExecX(ctx context.Context) {
471 if err := tuo.Exec(ctx); err != nil {
472 panic(err)
473 }
474}
475
476// defaults sets the default values of the builder before save.
477func (tuo *TaskUpdateOne) defaults() error {

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected