UpdateOne returns an update builder for the given entity.
(_m *User)
| 3073 | |
| 3074 | // UpdateOne returns an update builder for the given entity. |
| 3075 | func (c *UserClient) UpdateOne(_m *User) *UserUpdateOne { |
| 3076 | mutation := newUserMutation(c.config, OpUpdateOne, withUser(_m)) |
| 3077 | return &UserUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation} |
| 3078 | } |
| 3079 | |
| 3080 | // UpdateOneID returns an update builder for the given id. |
| 3081 | func (c *UserClient) UpdateOneID(id uuid.UUID) *UserUpdateOne { |
no test coverage detected