ByID orders the results by the id field.
(opts ...sql.OrderTermOption)
| 122 | |
| 123 | // ByID orders the results by the id field. |
| 124 | func ByID(opts ...sql.OrderTermOption) OrderOption { |
| 125 | return sql.OrderByField(FieldID, opts...).ToFunc() |
| 126 | } |
| 127 | |
| 128 | // ByCreatedAt orders the results by the created_at field. |
| 129 | func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption { |
no outgoing calls
no test coverage detected