#include <userver/storages/mongo/options.hpp>
Sorts the results.
Definition at line 206 of file options.hpp.
Public Types | |
| enum | Direction { kAscending , kDescending } |
Public Member Functions | |
| Sort ()=default | |
| Creates an empty ordering specification. | |
| Sort (std::initializer_list< std::pair< std::string_view, Direction > >) | |
| Stores the specified ordering specification. | |
| Sort & | By (std::string_view field, Direction direction) |
| Appends a field to the ordering specification. | |
| enum storages::mongo::options::Sort::Direction |
Definition at line 208 of file options.hpp.