UpdateOne returns an update builder for the given entity.
(_m *APIToken)
| 422 | |
| 423 | // UpdateOne returns an update builder for the given entity. |
| 424 | func (c *APITokenClient) UpdateOne(_m *APIToken) *APITokenUpdateOne { |
| 425 | mutation := newAPITokenMutation(c.config, OpUpdateOne, withAPIToken(_m)) |
| 426 | return &APITokenUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation} |
| 427 | } |
| 428 | |
| 429 | // UpdateOneID returns an update builder for the given id. |
| 430 | func (c *APITokenClient) UpdateOneID(id uuid.UUID) *APITokenUpdateOne { |
nothing calls this directly
no test coverage detected