UpdateOne returns an update builder for the given entity.
(_m *Project)
| 2397 | |
| 2398 | // UpdateOne returns an update builder for the given entity. |
| 2399 | func (c *ProjectClient) UpdateOne(_m *Project) *ProjectUpdateOne { |
| 2400 | mutation := newProjectMutation(c.config, OpUpdateOne, withProject(_m)) |
| 2401 | return &ProjectUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation} |
| 2402 | } |
| 2403 | |
| 2404 | // UpdateOneID returns an update builder for the given id. |
| 2405 | func (c *ProjectClient) UpdateOneID(id uuid.UUID) *ProjectUpdateOne { |
nothing calls this directly
no test coverage detected