MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / Limit

Method Limit

api/models/pagination.go:81–84  ·  view source on GitHub ↗

Limit returns the page size. Intend to be used in SQL statements.

()

Source from the content-addressed store, hash-verified

79// Limit returns the page size.
80// Intend to be used in SQL statements.
81func (p *Pagination) Limit() int {
82 p.normalize()
83 return p.Size
84}
85
86// Offset returns the size of skipped items of current page.
87// Intend to be used in SQL statements.

Callers 3

GetBlockListMethod · 0.80
GetTransactionListMethod · 0.80

Calls 1

normalizeMethod · 0.95

Tested by

no test coverage detected