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

Method SetTotal

api/models/pagination.go:74–77  ·  view source on GitHub ↗

SetTotal update the total records.

(total int)

Source from the content-addressed store, hash-verified

72
73// SetTotal update the total records.
74func (p *Pagination) SetTotal(total int) {
75 p.Total = total
76 p.normalize()
77}
78
79// Limit returns the page size.
80// 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