20 #include <bsoncxx/document/view_or_value.hpp>
21 #include <bsoncxx/stdx/optional.hpp>
22 #include <bsoncxx/string/view_or_value.hpp>
23 #include <bsoncxx/types/bson_value/view_or_value.hpp>
24 #include <mongocxx/cursor.hpp>
25 #include <mongocxx/hint.hpp>
26 #include <mongocxx/read_preference.hpp>
28 #include <mongocxx/config/prelude.hpp>
31 MONGOCXX_INLINE_NAMESPACE_BEGIN
56 find& allow_disk_use(
bool allow_disk_use);
65 const stdx::optional<bool>& allow_disk_use()
const;
80 find& allow_partial_results(
bool allow_partial);
89 const stdx::optional<bool>& allow_partial_results()
const;
103 find& batch_size(std::int32_t batch_size);
112 const stdx::optional<std::int32_t>& batch_size()
const;
136 const stdx::optional<bsoncxx::document::view_or_value>& collation()
const;
164 const stdx::optional<bsoncxx::string::view_or_value>& comment()
const;
178 find& cursor_type(cursor::type cursor_type);
187 const stdx::optional<cursor::type>& cursor_type()
const;
213 const stdx::optional<class hint>&
hint()
const;
237 const stdx::optional<bsoncxx::document::view_or_value> let()
const;
265 const stdx::optional<bsoncxx::types::bson_value::view_or_value>& comment_option()
const;
278 find& limit(std::int64_t limit);
287 const stdx::optional<std::int64_t>& limit()
const;
310 const stdx::optional<bsoncxx::document::view_or_value>& max()
const;
329 find& max_await_time(std::chrono::milliseconds max_await_time);
339 const stdx::optional<std::chrono::milliseconds>& max_await_time()
const;
353 find& max_time(std::chrono::milliseconds max_time);
362 const stdx::optional<std::chrono::milliseconds>& max_time()
const;
385 const stdx::optional<bsoncxx::document::view_or_value>& min()
const;
400 find& no_cursor_timeout(
bool no_cursor_timeout);
409 const stdx::optional<bool>& no_cursor_timeout()
const;
432 const stdx::optional<bsoncxx::document::view_or_value>& projection()
const;
472 find& return_key(
bool return_key);
484 const stdx::optional<bool>& return_key()
const;
498 find& show_record_id(
bool show_record_id);
509 const stdx::optional<bool>& show_record_id()
const;
523 find& skip(std::int64_t skip);
532 const stdx::optional<std::int64_t>& skip()
const;
556 const stdx::optional<bsoncxx::document::view_or_value>& sort()
const;
559 stdx::optional<bool> _allow_disk_use;
560 stdx::optional<bool> _allow_partial_results;
561 stdx::optional<std::int32_t> _batch_size;
562 stdx::optional<bsoncxx::document::view_or_value> _collation;
563 stdx::optional<bsoncxx::string::view_or_value> _comment;
564 stdx::optional<cursor::type> _cursor_type;
565 stdx::optional<class hint> _hint;
566 stdx::optional<bsoncxx::document::view_or_value> _let;
567 stdx::optional<bsoncxx::types::bson_value::view_or_value> _comment_option;
568 stdx::optional<std::int64_t> _limit;
569 stdx::optional<bsoncxx::document::view_or_value> _max;
570 stdx::optional<std::chrono::milliseconds> _max_await_time;
571 stdx::optional<std::chrono::milliseconds> _max_time;
572 stdx::optional<bsoncxx::document::view_or_value> _min;
573 stdx::optional<bool> _no_cursor_timeout;
574 stdx::optional<bsoncxx::document::view_or_value> _projection;
575 stdx::optional<class read_preference> _read_preference;
576 stdx::optional<bool> _return_key;
577 stdx::optional<bool> _show_record_id;
578 stdx::optional<std::int64_t> _skip;
579 stdx::optional<bsoncxx::document::view_or_value> _ordering;
583 MONGOCXX_INLINE_NAMESPACE_END
586 #include <mongocxx/config/postlude.hpp>