AddResults adds the "results" edges to the CIWorkflowResult entity.
(c ...*CIWorkflowResult)
| 175 | |
| 176 | // AddResults adds the "results" edges to the CIWorkflowResult entity. |
| 177 | func (gcu *GitCommitUpdate) AddResults(c ...*CIWorkflowResult) *GitCommitUpdate { |
| 178 | ids := make([]uuid.UUID, len(c)) |
| 179 | for i := range c { |
| 180 | ids[i] = c[i].ID |
| 181 | } |
| 182 | return gcu.AddResultIDs(ids...) |
| 183 | } |
| 184 | |
| 185 | // Mutation returns the GitCommitMutation object of the builder. |
| 186 | func (gcu *GitCommitUpdate) Mutation() *GitCommitMutation { |
nothing calls this directly
no test coverage detected