]> source.dussan.org Git - gitea.git/commit
improve FindProjects (#23085)
authoryp05327 <576951401@qq.com>
Fri, 24 Feb 2023 05:18:52 +0000 (14:18 +0900)
committerGitHub <noreply@github.com>
Fri, 24 Feb 2023 05:18:52 +0000 (13:18 +0800)
commit5b87c05a95a3eab1cf7f9a9f23052fee9eedd9ac
tree2ab60e33e5961b8d5a2774ff8c5127f1ac76c559
parent0bc8bb3cc4f003e70bfee75863b74c2243c6d23c
improve FindProjects (#23085)

I found `FindAndCount` which can `Find` and `Count` in the same time
Maybe it is better to use it in `FindProjects`

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
models/project/project.go