21 #include <bsoncxx/document/view_or_value.hpp>
22 #include <bsoncxx/stdx/optional.hpp>
23 #include <bsoncxx/types/bson_value/view_or_value.hpp>
24 #include <mongocxx/hint.hpp>
25 #include <mongocxx/read_preference.hpp>
27 #include <mongocxx/config/prelude.hpp>
30 MONGOCXX_INLINE_NAMESPACE_BEGIN
61 const stdx::optional<bsoncxx::document::view_or_value>& collation()
const;
84 const stdx::optional<class hint>&
hint()
const;
107 const stdx::optional<bsoncxx::types::bson_value::view_or_value>& comment()
const;
121 count& limit(std::int64_t limit);
130 const stdx::optional<std::int64_t>& limit()
const;
144 count& max_time(std::chrono::milliseconds max_time);
153 const stdx::optional<std::chrono::milliseconds>& max_time()
const;
167 count& skip(std::int64_t skip);
176 const stdx::optional<std::int64_t>& skip()
const;
202 stdx::optional<bsoncxx::document::view_or_value> _collation;
203 stdx::optional<class hint> _hint;
204 stdx::optional<bsoncxx::types::bson_value::view_or_value> _comment;
205 stdx::optional<std::int64_t> _limit;
206 stdx::optional<std::chrono::milliseconds> _max_time;
207 stdx::optional<std::int64_t> _skip;
208 stdx::optional<class read_preference> _read_preference;
212 MONGOCXX_INLINE_NAMESPACE_END
215 #include <mongocxx/config/postlude.hpp>