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

Function Sort

pkg/database/pagination.go:78–82  ·  view source on GitHub ↗

Sort -

(sort string)

Source from the content-addressed store, hash-verified

76
77// Sort -
78func Sort(sort string) CursorPaginationOption {
79 return func(c *CursorPagination) {
80 c.sort = sort
81 }
82}
83
84// Limit -
85func Limit(limit uint32) CursorPaginationOption {

Callers 11

TestQueryAttributes4Function · 0.92
TestQueryRelationships6Function · 0.92
TestQueryRelationships7Function · 0.92
attributeEntranceMethod · 0.92
relationEntranceMethod · 0.92
TestNewCursorPaginationFunction · 0.85
TestCursorPaginationFunction · 0.85

Calls

no outgoing calls

Tested by 5

TestQueryAttributes4Function · 0.74
TestQueryRelationships6Function · 0.74
TestQueryRelationships7Function · 0.74
TestNewCursorPaginationFunction · 0.68
TestCursorPaginationFunction · 0.68