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

Function ID

app/controlplane/pkg/data/ent/workflowcontract/where.go:16–18  ·  view source on GitHub ↗

ID filters vertices based on their ID field.

(id uuid.UUID)

Source from the content-addressed store, hash-verified

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

Callers 3

contractInOrgQueryFunction · 0.92
DeleteOneIDMethod · 0.92
GetMethod · 0.92

Calls 1

WorkflowContractFuncType · 0.92

Tested by

no test coverage detected