21 #include <bsoncxx/document/view_or_value.hpp>
22 #include <bsoncxx/stdx/optional.hpp>
23 #include <mongocxx/hint.hpp>
24 #include <mongocxx/read_preference.hpp>
26 #include <mongocxx/config/prelude.hpp>
29 MONGOCXX_INLINE_NAMESPACE_BEGIN
58 const stdx::optional<bsoncxx::document::view_or_value>& collation()
const;
73 const stdx::optional<class hint>& hint()
const;
81 count& limit(std::int64_t limit);
88 const stdx::optional<std::int64_t>& limit()
const;
98 count& max_time(std::chrono::milliseconds max_time);
107 const stdx::optional<std::chrono::milliseconds>& max_time()
const;
117 count& skip(std::int64_t skip);
126 const stdx::optional<std::int64_t>& skip()
const;
145 const stdx::optional<class read_preference>& read_preference()
const;
148 stdx::optional<bsoncxx::document::view_or_value> _collation;
149 stdx::optional<class hint> _hint;
150 stdx::optional<std::int64_t> _limit;
151 stdx::optional<std::chrono::milliseconds> _max_time;
152 stdx::optional<std::int64_t> _skip;
153 stdx::optional<class read_preference> _read_preference;
157 MONGOCXX_INLINE_NAMESPACE_END
160 #include <mongocxx/config/postlude.hpp>
Definition: bulk_write.hpp:22
Class representing a hint to be passed to a database operation.
Definition: hint.hpp:35
Class representing a preference for how the driver routes read operations to members of a replica set...
Definition: read_preference.hpp:57
Class representing the optional arguments to a MongoDB count command.
Definition: count.hpp:36