MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / UpdateOne

Method UpdateOne

app/controlplane/pkg/data/ent/client.go:3075–3078  ·  view source on GitHub ↗

UpdateOne returns an update builder for the given entity.

(_m *User)

Source from the content-addressed store, hash-verified

3073
3074// UpdateOne returns an update builder for the given entity.
3075func (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.
3081func (c *UserClient) UpdateOneID(id uuid.UUID) *UserUpdateOne {

Callers 15

RemoveMemberFromGroupMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45
UpdateMethod · 0.45

Calls 3

HooksMethod · 0.95
newUserMutationFunction · 0.85
withUserFunction · 0.85

Tested by

no test coverage detected