ByID orders the results by the id field.
(opts ...sql.OrderTermOption)
| 89 | |
| 90 | // ByID orders the results by the id field. |
| 91 | func ByID(opts ...sql.OrderTermOption) OrderOption { |
| 92 | return sql.OrderByField(FieldID, opts...).ToFunc() |
| 93 | } |
| 94 | |
| 95 | // ByCreateTime orders the results by the create_time field. |
| 96 | func ByCreateTime(opts ...sql.OrderTermOption) OrderOption { |
nothing calls this directly
no outgoing calls
no test coverage detected