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

Function ByUserTasks

ent/task/task.go:164–166  ·  view source on GitHub ↗

ByUserTasks orders the results by the user_tasks field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

162
163// ByUserTasks orders the results by the user_tasks field.
164func ByUserTasks(opts ...sql.OrderTermOption) OrderOption {
165 return sql.OrderByField(FieldUserTasks, opts...).ToFunc()
166}
167
168// ByUserField orders the results by user field.
169func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected