241 return to_document_deprecated();
269using ::mongocxx::v_noabi::options::create_collection;
270using ::mongocxx::v_noabi::options::create_collection_deprecated;
285#if defined(MONGOCXX_PRIVATE_DOXYGEN_PREPROCESSOR)
A polyfill for std::optional<T>.
Definition optional.hpp:874
mongocxx::v_noabi::options::create_collection_deprecated
Definition create_collection.hpp:294
mongocxx::v_noabi::options::create_collection
Definition create_collection.hpp:291
Class representing the optional arguments to a MongoDB createCollection command.
Definition create_collection.hpp:35
MONGOCXX_DEPRECATED operator bsoncxx::v_noabi::document::value() const
Definition create_collection.hpp:240
create_collection_deprecated & capped(bool capped)
To create a capped collection, specify true.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & storage_engine() const
Gets the current storage engine configuration for this collection.
const stdx::optional< bsoncxx::v_noabi::document::view_or_value > & collation() const
Gets the default collation for this collection.
const stdx::optional< bool > & no_padding() const
Gets the current value of the "no padding" option for the collection.
MONGOCXX_DEPRECATED bsoncxx::v_noabi::document::value to_document() const
Return a bson document representing the options set on this object.
const stdx::optional< std::int64_t > & size() const
Gets the current size setting, for a capped collection.
const stdx::optional< std::int64_t > & max() const
Gets the current setting for the maximum number of documents allowed in the capped collection.
const stdx::optional< bool > & capped() const
Gets the current capped setting.
Class representing criteria for document validation, to be applied to a collection.
Definition validation_criteria.hpp:35
Provides bsoncxx::v_noabi::document::view_or_value.
#define MONGOCXX_DEPRECATED
Declares the associated entity as deprecated.
Definition fwd.hpp:258
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:222
The mongocxx macro guard postlude header.
The mongocxx macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
MONGOCXX_DEPRECATED typedef create_collection_deprecated create_collection
Equivalent to create_collection_deprecated.
Definition create_collection.hpp:260
The top-level namespace within which all mongocxx library entities are declared.
The top-level namespace reserved for the C++ standard library.
Provides std::optional-related polyfills for library API usage.
Redeclares bsoncxx::v_noabi::stdx in mongocxx::v_noabi::stdx for internal use.
Provides mongocxx::v_noabi::validation_criteria.