ByStoragePolicyCount orders the results by storage_policy count.
(opts ...sql.OrderTermOption)
| 199 | |
| 200 | // ByStoragePolicyCount orders the results by storage_policy count. |
| 201 | func ByStoragePolicyCount(opts ...sql.OrderTermOption) OrderOption { |
| 202 | return func(s *sql.Selector) { |
| 203 | sqlgraph.OrderByNeighborsCount(s, newStoragePolicyStep(), opts...) |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | // ByStoragePolicy orders the results by storage_policy terms. |
| 208 | func ByStoragePolicy(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption { |
nothing calls this directly
no test coverage detected