RemoveResults removes "results" edges to CIWorkflowResult entities.
(c ...*CIWorkflowResult)
| 201 | |
| 202 | // RemoveResults removes "results" edges to CIWorkflowResult entities. |
| 203 | func (gcu *GitCommitUpdate) RemoveResults(c ...*CIWorkflowResult) *GitCommitUpdate { |
| 204 | ids := make([]uuid.UUID, len(c)) |
| 205 | for i := range c { |
| 206 | ids[i] = c[i].ID |
| 207 | } |
| 208 | return gcu.RemoveResultIDs(ids...) |
| 209 | } |
| 210 | |
| 211 | // Save executes the query and returns the number of nodes affected by the update operation. |
| 212 | func (gcu *GitCommitUpdate) Save(ctx context.Context) (int, error) { |
nothing calls this directly
no test coverage detected