Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dnote/dnote
/ orderGetNotes
Function
orderGetNotes
pkg/server/app/notes.go:243–245 ·
view source on GitHub ↗
(conn *gorm.DB)
Source
from the content-addressed store, hash-verified
241
}
242
243
func
orderGetNotes(conn *gorm.DB) *gorm.DB {
244
return
conn.Order(
"notes.updated_at DESC, notes.id DESC"
)
245
}
246
247
func
paginate(conn *gorm.DB, page, perPage int) *gorm.DB {
248
// Paginate
Callers
1
GetNotes
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected