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

Function ByUpdatedAt

ent/node/node.go:161–163  ·  view source on GitHub ↗

ByUpdatedAt orders the results by the updated_at field.

(opts ...sql.OrderTermOption)

Source from the content-addressed store, hash-verified

159
160// ByUpdatedAt orders the results by the updated_at field.
161func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption {
162 return sql.OrderByField(FieldUpdatedAt, opts...).ToFunc()
163}
164
165// ByDeletedAt orders the results by the deleted_at field.
166func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption {

Callers 1

getNodeOrderOptionFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected