UpdateOne returns an update builder for the given entity.
(_m *CASMapping)
| 917 | |
| 918 | // UpdateOne returns an update builder for the given entity. |
| 919 | func (c *CASMappingClient) UpdateOne(_m *CASMapping) *CASMappingUpdateOne { |
| 920 | mutation := newCASMappingMutation(c.config, OpUpdateOne, withCASMapping(_m)) |
| 921 | return &CASMappingUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation} |
| 922 | } |
| 923 | |
| 924 | // UpdateOneID returns an update builder for the given id. |
| 925 | func (c *CASMappingClient) UpdateOneID(id uuid.UUID) *CASMappingUpdateOne { |
nothing calls this directly
no test coverage detected