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

Method DeleteOneID

app/controlplane/pkg/data/ent/client.go:1123–1128  ·  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

1121
1122// DeleteOneID returns a builder for deleting the given entity by its id.
1123func (c *GroupClient) DeleteOneID(id uuid.UUID) *GroupDeleteOne {
1124 builder := c.Delete().Where(group.ID(id))
1125 builder.mutation.id = &id
1126 builder.mutation.op = OpDeleteOne
1127 return &GroupDeleteOne{builder}
1128}
1129
1130// Query returns a query builder for Group.
1131func (c *GroupClient) Query() *GroupQuery {

Callers 1

DeleteOneMethod · 0.95

Calls 3

DeleteMethod · 0.95
IDFunction · 0.92
WhereMethod · 0.45

Tested by

no test coverage detected