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