AddResults adds the "results" edges to the CIWorkflowResult entity.
(c ...*CIWorkflowResult)
| 147 | |
| 148 | // AddResults adds the "results" edges to the CIWorkflowResult entity. |
| 149 | func (gcc *GitCommitCreate) AddResults(c ...*CIWorkflowResult) *GitCommitCreate { |
| 150 | ids := make([]uuid.UUID, len(c)) |
| 151 | for i := range c { |
| 152 | ids[i] = c[i].ID |
| 153 | } |
| 154 | return gcc.AddResultIDs(ids...) |
| 155 | } |
| 156 | |
| 157 | // Mutation returns the GitCommitMutation object of the builder. |
| 158 | func (gcc *GitCommitCreate) Mutation() *GitCommitMutation { |
nothing calls this directly
no test coverage detected