MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / SetSize

Method SetSize

api/models/pagination.go:68–71  ·  view source on GitHub ↗

SetSize update page size.

(size int)

Source from the content-addressed store, hash-verified

66
67// SetSize update page size.
68func (p *Pagination) SetSize(size int) {
69 p.Size = size
70 p.normalize()
71}
72
73// SetTotal update the total records.
74func (p *Pagination) SetTotal(total int) {

Callers

nothing calls this directly

Calls 1

normalizeMethod · 0.95

Tested by

no test coverage detected