21 #include <bsoncxx/document/view.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
51 const stdx::optional<class hint>& hint()
const;
59 count& limit(std::int64_t limit);
66 const stdx::optional<std::int64_t>& limit()
const;
76 count& max_time(std::chrono::milliseconds max_time);
85 const stdx::optional<std::chrono::milliseconds>& max_time()
const;
95 count& skip(std::int64_t skip);
104 const stdx::optional<std::int64_t>& skip()
const;
123 const stdx::optional<class read_preference>& read_preference()
const;
126 stdx::optional<class hint> _hint;
127 stdx::optional<std::int64_t> _limit;
128 stdx::optional<std::chrono::milliseconds> _max_time;
129 stdx::optional<std::int64_t> _skip;
130 stdx::optional<class read_preference> _read_preference;
134 MONGOCXX_INLINE_NAMESPACE_END
137 #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:54
Class representing the optional arguments to a MongoDB count command.
Definition: count.hpp:36