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

Method Limit

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

Limit the number of records to be returned by this query.

(limit int)

Source from the content-addressed store, hash-verified

43
44// Limit the number of records to be returned by this query.
45func (_q *UserQuery) Limit(limit int) *UserQuery {
46 _q.ctx.Limit = &limit
47 return _q
48}
49
50// Offset to start from.
51func (_q *UserQuery) Offset(offset int) *UserQuery {

Callers 15

FirstMethod · 0.95
FirstIDMethod · 0.95
OnlyMethod · 0.95
OnlyIDMethod · 0.95
ListMethod · 0.45
ListMembersMethod · 0.45
ListMethod · 0.45
ListMembersMethod · 0.45
ListProjectsByGroupMethod · 0.45
doGetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected