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

Method DeleteOneID

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

DeleteOneID returns a builder for deleting the given entity by its id.

(id uuid.UUID)

Source from the content-addressed store, hash-verified

3096
3097// DeleteOneID returns a builder for deleting the given entity by its id.
3098func (c *UserClient) DeleteOneID(id uuid.UUID) *UserDeleteOne {
3099 builder := c.Delete().Where(user.ID(id))
3100 builder.mutation.id = &id
3101 builder.mutation.op = OpDeleteOne
3102 return &UserDeleteOne{builder}
3103}
3104
3105// Query returns a query builder for User.
3106func (c *UserClient) Query() *UserQuery {

Callers 6

DeleteOneMethod · 0.95
TestListMembersMethod · 0.45
DeleteMethod · 0.45
DeleteMethod · 0.45
DeleteMethod · 0.45

Calls 3

DeleteMethod · 0.95
IDFunction · 0.92
WhereMethod · 0.45

Tested by 2

TestListMembersMethod · 0.36