ByFileCount orders the results by file count.
(opts ...sql.OrderTermOption)
| 176 | |
| 177 | // ByFileCount orders the results by file count. |
| 178 | func ByFileCount(opts ...sql.OrderTermOption) OrderOption { |
| 179 | return func(s *sql.Selector) { |
| 180 | sqlgraph.OrderByNeighborsCount(s, newFileStep(), opts...) |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | // ByFile orders the results by file terms. |
| 185 | func ByFile(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption { |
nothing calls this directly
no test coverage detected