ByCreatedAt orders the results by the created_at field.
(opts ...sql.OrderTermOption)
| 154 | |
| 155 | // ByCreatedAt orders the results by the created_at field. |
| 156 | func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption { |
| 157 | return sql.OrderByField(FieldCreatedAt, opts...).ToFunc() |
| 158 | } |
| 159 | |
| 160 | // ByUpdatedAt orders the results by the updated_at field. |
| 161 | func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption { |
nothing calls this directly
no outgoing calls
no test coverage detected