UpdateOne returns an update builder for the given entity.
(_m *Group)
| 1098 | |
| 1099 | // UpdateOne returns an update builder for the given entity. |
| 1100 | func (c *GroupClient) UpdateOne(_m *Group) *GroupUpdateOne { |
| 1101 | mutation := newGroupMutation(c.config, OpUpdateOne, withGroup(_m)) |
| 1102 | return &GroupUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation} |
| 1103 | } |
| 1104 | |
| 1105 | // UpdateOneID returns an update builder for the given id. |
| 1106 | func (c *GroupClient) UpdateOneID(id uuid.UUID) *GroupUpdateOne { |
nothing calls this directly
no test coverage detected