1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-21 22:14:50 +08:00
Commit Graph

3 Commits

Author SHA1 Message Date
Lunny Xiao
70c4aad8e1
Move more functions to db.Find ()
Following 

This PR move more functions to use `db.Find`.

---------

Co-authored-by: delvh <dev.lh@web.de>
2024-01-15 02:19:25 +00:00
Lunny Xiao
df1e7d0067
Use db.Find instead of writing methods for every object ()
For those simple objects, it's unnecessary to write the find and count
methods again and again.
2023-11-24 03:49:41 +00:00
Lunny Xiao
a8c4f8cebc
Fix db.Find bug ()
Caused by  

Fix 
2023-02-24 21:17:09 +08:00