MCPcopy 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
243func orderGetNotes(conn *gorm.DB) *gorm.DB {
244 return conn.Order("notes.updated_at DESC, notes.id DESC")
245}
246
247func paginate(conn *gorm.DB, page, perPage int) *gorm.DB {
248 // Paginate

Callers 1

GetNotesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected