MCPcopy Index your code
hub / github.com/chainloop-dev/chainloop / Where

Method Where

app/controlplane/pkg/data/ent/user_query.go:39–42  ·  view source on GitHub ↗

Where adds a new predicate for the UserQuery builder.

(ps ...predicate.User)

Source from the content-addressed store, hash-verified

37
38// Where adds a new predicate for the UserQuery builder.
39func (_q *UserQuery) Where(ps ...predicate.User) *UserQuery {
40 _q.predicates = append(_q.predicates, ps...)
41 return _q
42}
43
44// Limit the number of records to be returned by this query.
45func (_q *UserQuery) Limit(limit int) *UserQuery {

Callers 15

loadMembershipsMethod · 0.95
loadGroupMembershipsMethod · 0.95
TestSaveAttestationMethod · 0.45
TestCreateMethod · 0.45
CreateMethod · 0.45
ListMethod · 0.45
applyWorkflowRunFiltersFunction · 0.45
applyWorkflowFiltersFunction · 0.45
GetOrgScopedMethod · 0.45
IncRunsCounterMethod · 0.45
FindByIDMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestSaveAttestationMethod · 0.36
TestCreateMethod · 0.36