Exec executes the deletion query and returns how many vertices were deleted.
(ctx context.Context)
| 27 | |
| 28 | // Exec executes the deletion query and returns how many vertices were deleted. |
| 29 | func (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. |
| 34 | func (gcd *GitCommitDelete) ExecX(ctx context.Context) int { |