17class DITTO_DEPRECATED_BECAUSE(
18 "Use DQL (Ditto Query Language) instead. For more information see: "
19 "https://ditto.com/link/legacy-to-dql-guide") OrderBy {
20 DITTO_DISABLE_DEPRECATED_WARNINGS(
"The legacy query API is deprecated")
22 friend class LiveQuery;
23 friend class PendingCursorOperation;
24 friend class Subscription;
29 OrderBy(
const OrderBy &other);
30 void add_sort(std::string query_str,
SortDirection direction);
31 std::vector<COrderByParam_t> &get_vec();
34 std::vector<COrderByParam_t> order_by_definitions;
36 DITTO_REENABLE_WARNINGS