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

Method All

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

All executes the query and returns a list of Users.

(ctx context.Context)

Source from the content-addressed store, hash-verified

212
213// All executes the query and returns a list of Users.
214func (_q *UserQuery) All(ctx context.Context) ([]*User, error) {
215 ctx = setContextOp(ctx, _q.ctx, ent.OpQueryAll)
216 if err := _q.prepareQuery(ctx); err != nil {
217 return nil, err
218 }
219 qr := querierAll[[]*User, *UserQuery]()
220 return withInterceptors[[]*User](ctx, _q, qr, _q.inters)
221}
222
223// AllX is like All, but panics if an error occurs.
224func (_q *UserQuery) AllX(ctx context.Context) []*User {

Callers 15

AllXMethod · 0.95
ListMethod · 0.45
ListMethod · 0.45
ListMethod · 0.45
PendingInvitationsMethod · 0.45
ListByOrgMethod · 0.45
ListMethod · 0.45
getWorkflowReferencesFunction · 0.45
ListProjectsByOrgIDMethod · 0.45
ListMembersMethod · 0.45
ListMethod · 0.45

Calls 4

prepareQueryMethod · 0.95
setContextOpFunction · 0.85
querierAllFunction · 0.85
withInterceptorsFunction · 0.85

Tested by

no test coverage detected