MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / ExecX

Method ExecX

ent/gitcommit_delete.go:34–40  ·  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

32
33// ExecX is like Exec, but panics if an error occurs.
34func (gcd *GitCommitDelete) ExecX(ctx context.Context) int {
35 n, err := gcd.Exec(ctx)
36 if err != nil {
37 panic(err)
38 }
39 return n
40}
41
42func (gcd *GitCommitDelete) sqlExec(ctx context.Context) (int, error) {
43 _spec := sqlgraph.NewDeleteSpec(gitcommit.Table, sqlgraph.NewFieldSpec(gitcommit.FieldID, field.TypeUUID))

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected