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

Function ID

app/controlplane/pkg/data/ent/casmapping/where.go:15–17  ·  view source on GitHub ↗

ID filters vertices based on their ID field.

(id uuid.UUID)

Source from the content-addressed store, hash-verified

13
14// ID filters vertices based on their ID field.
15func ID(id uuid.UUID) predicate.CASMapping {
16 return predicate.CASMapping(sql.FieldEQ(FieldID, id))
17}
18
19// IDEQ applies the EQ predicate on the ID field.
20func IDEQ(id uuid.UUID) predicate.CASMapping {

Callers 3

findByIDMethod · 0.92
DeleteOneIDMethod · 0.92
GetMethod · 0.92

Calls 1

CASMappingFuncType · 0.92

Tested by

no test coverage detected