MCPcopy Create free account
hub / github.com/Permify/permify / Limit

Function Limit

pkg/database/pagination.go:85–89  ·  view source on GitHub ↗

Limit -

(limit uint32)

Source from the content-addressed store, hash-verified

83
84// Limit -
85func Limit(limit uint32) CursorPaginationOption {
86 return func(c *CursorPagination) {
87 c.limit = limit
88 }
89}
90
91// Cursor -
92func (p CursorPagination) Cursor() string {

Callers 2

TestCursorPaginationFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestCursorPaginationFunction · 0.68