Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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 -
78
func
Sort(sort string) CursorPaginationOption {
79
return
func
(c *CursorPagination) {
80
c.sort = sort
81
}
82
}
83
84
// Limit -
85
func
Limit(limit uint32) CursorPaginationOption {
Callers
11
data_reader_test.go
File · 0.92
data_reader_test.go
File · 0.92
TestQueryAttributes4
Function · 0.92
TestQueryRelationships6
Function · 0.92
TestQueryRelationships7
Function · 0.92
subjectFilterDirectRelation
Method · 0.92
attributeEntrance
Method · 0.92
relationEntrance
Method · 0.92
tupleToUserSetEntrance
Method · 0.92
TestNewCursorPagination
Function · 0.85
TestCursorPagination
Function · 0.85
Calls
no outgoing calls
Tested by
5
TestQueryAttributes4
Function · 0.74
TestQueryRelationships6
Function · 0.74
TestQueryRelationships7
Function · 0.74
TestNewCursorPagination
Function · 0.68
TestCursorPagination
Function · 0.68