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

Method DeleteOneID

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

2420
2421// DeleteOneID returns a builder for deleting the given entity by its id.
2422func (c *ProjectClient) DeleteOneID(id uuid.UUID) *ProjectDeleteOne {
2423 builder := c.Delete().Where(project.ID(id))
2424 builder.mutation.id = &id
2425 builder.mutation.op = OpDeleteOne
2426 return &ProjectDeleteOne{builder}
2427}
2428
2429// Query returns a query builder for Project.
2430func (c *ProjectClient) Query() *ProjectQuery {

Callers 1

DeleteOneMethod · 0.95

Calls 3

DeleteMethod · 0.95
IDFunction · 0.92
WhereMethod · 0.45

Tested by

no test coverage detected