MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / ByFileCount

Function ByFileCount

ent/entity/entity.go:178–182  ·  view source on GitHub ↗

ByFileCount orders the results by file count.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

176
177// ByFileCount orders the results by file count.
178func 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.
185func ByFile(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption {

Callers

nothing calls this directly

Calls 1

newFileStepFunction · 0.70

Tested by

no test coverage detected