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

Method Exec

ent/gitcommit_delete.go:29–31  ·  view source on GitHub ↗

Exec executes the deletion query and returns how many vertices were deleted.

(ctx context.Context)

Source from the content-addressed store, hash-verified

27
28// Exec executes the deletion query and returns how many vertices were deleted.
29func (gcd *GitCommitDelete) Exec(ctx context.Context) (int, error) {
30 return withHooks(ctx, gcd.sqlExec, gcd.mutation, gcd.hooks)
31}
32
33// ExecX is like Exec, but panics if an error occurs.
34func (gcd *GitCommitDelete) ExecX(ctx context.Context) int {

Callers 2

ExecXMethod · 0.95
ExecMethod · 0.45

Calls 1

withHooksFunction · 0.85

Tested by

no test coverage detected