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

Method Limit

app/controlplane/pkg/data/ent/group_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 *GroupQuery) Limit(limit int) *GroupQuery {
46 _q.ctx.Limit = &limit
47 return _q
48}
49
50// Offset to start from.
51func (_q *GroupQuery) Offset(offset int) *GroupQuery {

Callers 5

FirstMethod · 0.95
FirstIDMethod · 0.95
OnlyMethod · 0.95
OnlyIDMethod · 0.95
sqlQueryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected