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

Method UpdateOne

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

UpdateOne returns an update builder for the given entity.

(_m *Membership)

Source from the content-addressed store, hash-verified

1758
1759// UpdateOne returns an update builder for the given entity.
1760func (c *MembershipClient) UpdateOne(_m *Membership) *MembershipUpdateOne {
1761 mutation := newMembershipMutation(c.config, OpUpdateOne, withMembership(_m))
1762 return &MembershipUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation}
1763}
1764
1765// UpdateOneID returns an update builder for the given id.
1766func (c *MembershipClient) UpdateOneID(id uuid.UUID) *MembershipUpdateOne {

Callers

nothing calls this directly

Calls 3

HooksMethod · 0.95
newMembershipMutationFunction · 0.85
withMembershipFunction · 0.85

Tested by

no test coverage detected