MongoDB C++ Driver  mongocxx-3.4.0
Deprecated List
Member bsoncxx::oid::oid (init_tag_t tag)
This constructor for bsoncxx::oid is still supported but deprecated.
Member bsoncxx::oid::operator bool () const
Uninitialized oids can no longer be created so this function will always return True.
Class bsoncxx::types::b_dbpointer
A BSON DBPointer (aka DBRef) is still supported but deprecated.
Class bsoncxx::types::b_symbol
This BSON type is deprecated and use by clients is discouraged.
Class bsoncxx::types::b_undefined
This BSON type is deprecated and use by clients is discouraged.
Member mongocxx::client::read_concern (class read_concern rc)
This method is deprecated. Read concerns should be set either in the URI or directly on database or collection objects.
Member mongocxx::client::read_preference (class read_preference rp)
This method is deprecated. Read preferences should be set either in the URI or directly on database or collection objects.
Member mongocxx::client::write_concern (class write_concern wc)
This method is deprecated. Write concerns should be set either in the URI or directly on database or collection objects.
Member mongocxx::collection::count (const client_session &session, bsoncxx::document::view_or_value filter, const options::count &options=options::count())
This method has been deprecated in favor of count_documents() and estimated_document_count().
Member mongocxx::collection::count (bsoncxx::document::view_or_value filter, const options::count &options=options::count())
This method has been deprecated in favor of count_documents() and estimated_document_count().
Member mongocxx::collection::replace_one (bsoncxx::document::view_or_value filter, bsoncxx::document::view_or_value replacement, const T &options)
This overload takes an options::update instance, which includes the array_filters option which is irrelevant to replace_one. Use the overload that takes options::replace instead.
Member mongocxx::collection::replace_one (const client_session &session, bsoncxx::document::view_or_value filter, bsoncxx::document::view_or_value replacement, const T &options)
This overload takes an options::update instance, which includes the array_filters option which is irrelevant to replace_one. Use the overload that takes options::replace instead.
Member mongocxx::database::create_collection (bsoncxx::string::view_or_value name, const options::create_collection &collection_options, const stdx::optional< write_concern > &write_concern={})
This overload is deprecated. Call database::create_collection with a bsoncxx::document::view_or_value collection_options instead.
Member mongocxx::database::create_collection (const client_session &session, bsoncxx::string::view_or_value name, const options::create_collection &collection_options, const stdx::optional< write_concern > &write_concern={})
This overload is deprecated. Call database::create_collection with a bsoncxx::document::view_or_value collection_options instead.
Member mongocxx::database::create_view (bsoncxx::string::view_or_value name, bsoncxx::string::view_or_value view_on, const options::create_view &options=options::create_view())
This method is deprecated. To create a non-materialized view, use database::create_collection and pass "viewOn": "COLLECTION_NAME", "pipeline": [ ... stages ... ] in the bsoncxx::document::view_or_value collection_options.
Member mongocxx::hint::operator bsoncxx::document::value () const
This method has been deprecated in favor of operator bsoncxx::types::value().
Member mongocxx::hint::to_document () const
This method has been deprecated in favor of to_value().
Member mongocxx::options::create_collection::auto_index_id (bool auto_index_id)
This method is deprecated. Server versions 3.4 and above no longer support the "autoIndexId" option.
Member mongocxx::options::create_collection::auto_index_id () const
This method is deprecated. Server versions 3.4 and above no longer support the "autoIndexId" option.
Member mongocxx::options::create_collection::operator bsoncxx::document::value () const
This method is deprecated.
Member mongocxx::options::create_collection::to_document () const
This method is deprecated. To determine which options are set on this object, use the provided accessors instead.
Member mongocxx::options::create_view::operator bsoncxx::document::value () const
This method is deprecated.
Member mongocxx::options::create_view::to_document () const
This method is deprecated. To determine which options are set on this object, use the provided accessors instead.
Member mongocxx::options::find::max_scan () const
This method is deprecated.
Member mongocxx::options::find::max_scan (std::int64_t max)
This method is deprecated.
Member mongocxx::options::find::modifiers () const
The modifiers option has been deprecated, and has been replaced by new top-level options that have been introduced. For example, users should call find::snapshot() instead of calling find::modifiers() with a document containing a "$snapshot" field.
Member mongocxx::options::find::modifiers (bsoncxx::document::view_or_value modifiers)
The modifiers option has been deprecated, and has been replaced by new top-level options that have been introduced. For example, users should call find::snapshot() instead of calling find::modifiers() with a document containing a "$snapshot" field.
Member mongocxx::options::find::snapshot () const
This method is deprecated.
Member mongocxx::options::find::snapshot (bool snapshot)
This method is deprecated.
Member mongocxx::pipeline::view () const
The view_array() method should be used instead of this method.
Member mongocxx::read_preference::read_preference (read_mode mode)
The constructor with no arguments and the method mode() should be used.
Member mongocxx::read_preference::read_preference (read_mode mode, bsoncxx::document::view_or_value tags)
The tags() method should be used instead.
Member mongocxx::validation_criteria::operator bsoncxx::document::value () const
This method is deprecated.
Member mongocxx::validation_criteria::to_document () const
This method is deprecated. To determine which options are set on this object, use the provided accessors instead.