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

Function ByDeletedAt

ent/node/node.go:166–168  ·  view source on GitHub ↗

ByDeletedAt orders the results by the deleted_at field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

164
165// ByDeletedAt orders the results by the deleted_at field.
166func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption {
167 return sql.OrderByField(FieldDeletedAt, opts...).ToFunc()
168}
169
170// ByStatus orders the results by the status field.
171func ByStatus(opts ...sql.OrderTermOption) OrderOption {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected