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

Method UpdateOneID

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

UpdateOneID returns an update builder for the given id.

(id uuid.UUID)

Source from the content-addressed store, hash-verified

3079
3080// UpdateOneID returns an update builder for the given id.
3081func (c *UserClient) UpdateOneID(id uuid.UUID) *UserUpdateOne {
3082 mutation := newUserMutation(c.config, OpUpdateOne, withUserID(id))
3083 return &UserUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation}
3084}
3085
3086// Delete returns a delete builder for User.
3087func (c *UserClient) Delete() *UserDelete {

Callers 15

TestCreateMethod · 0.45
UpdateMethod · 0.45
SoftDeleteMethod · 0.45
SaveMethod · 0.45
ResetMethod · 0.45
SoftDeleteMethod · 0.45
ChangeStatusMethod · 0.45
SoftDeleteMethod · 0.45
SoftDeleteMethod · 0.45

Calls 3

HooksMethod · 0.95
newUserMutationFunction · 0.85
withUserIDFunction · 0.85