MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / Limit

Method Limit

ent/gitcommit_query.go:43–46  ·  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

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

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