You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<description>Step 1: Install the latest version of the MongoDB C driver. The mongocxx driver builds on top of the MongoDB C driver.
17
-
For mongocxx-3.7.x, libmongoc 1.22.1 or later is required. For mongocxx-3.6.x, libmongoc 1.17.0 or later is required. For mongocxx-3.5.x, libmongoc 1.15.0 or later is required. For mongocxx-3.4.x, libmongoc 1.13.0 or later is required. For mongocxx-3.3.x, libmongoc 1.10.1 or later is required. For mongocxx-3.2.x, libmongoc 1.9.2 or later is required. For mongocxx-3.</description>
17
+
For mongocxx-3.7.x, libmongoc 1.22.1 or later is required. For mongocxx-3.6.x, libmongoc 1.17.0 or later is required. For mongocxx-3.5.x, libmongoc 1.15.0 or later is required. For mongocxx-3.4.x, libmongoc 1.13.0 or later is required. For mongocxx-3.3.x, libmongoc 1.10.1 or later is required. For mongocxx-3.2.x, libmongoc 1.9.2 or later is required.</description>
18
18
</item>
19
19
20
20
<item>
@@ -24,7 +24,7 @@ For mongocxx-3.7.x, libmongoc 1.22.1 or later is required. For mongocxx-3.6.x, l
<description>Step 1: Install the latest version of the MongoDB C driver. The mongocxx driver builds on top of the MongoDB C driver.
27
-
For mongocxx-3.7.x, libmongoc 1.22.1 or later is required. For mongocxx-3.6.x, libmongoc 1.17.0 or later is required. For mongocxx-3.5.x, libmongoc 1.15.0 or later is required. For mongocxx-3.4.x, libmongoc 1.13.0 or later is required. For mongocxx-3.3.x, libmongoc 1.10.1 or later is required. For mongocxx-3.2.x, libmongoc 1.9.2 or later is required. For mongocxx-3.</description>
27
+
For mongocxx-3.7.x, libmongoc 1.22.1 or later is required. For mongocxx-3.6.x, libmongoc 1.17.0 or later is required. For mongocxx-3.5.x, libmongoc 1.15.0 or later is required. For mongocxx-3.4.x, libmongoc 1.13.0 or later is required. For mongocxx-3.3.x, libmongoc 1.10.1 or later is required. For mongocxx-3.2.x, libmongoc 1.9.2 or later is required.</description>
28
28
</item>
29
29
30
30
<item>
@@ -34,7 +34,7 @@ For mongocxx-3.7.x, libmongoc 1.22.1 or later is required. For mongocxx-3.6.x, l
<description>Step 1: Install the latest version of the MongoDB C driver. The mongocxx driver builds on top of the MongoDB C driver.
37
-
For mongocxx-3.7.x, libmongoc 1.22.1 or later is required. For mongocxx-3.6.x, libmongoc 1.17.0 or later is required. For mongocxx-3.5.x, libmongoc 1.15.0 or later is required. For mongocxx-3.4.x, libmongoc 1.13.0 or later is required. For mongocxx-3.3.x, libmongoc 1.10.1 or later is required. For mongocxx-3.2.x, libmongoc 1.9.2 or later is required. For mongocxx-3.</description>
37
+
For mongocxx-3.7.x, libmongoc 1.22.1 or later is required. For mongocxx-3.6.x, libmongoc 1.17.0 or later is required. For mongocxx-3.5.x, libmongoc 1.15.0 or later is required. For mongocxx-3.4.x, libmongoc 1.13.0 or later is required. For mongocxx-3.3.x, libmongoc 1.10.1 or later is required. For mongocxx-3.2.x, libmongoc 1.9.2 or later is required.</description>
38
38
</item>
39
39
40
40
<item>
@@ -44,7 +44,7 @@ For mongocxx-3.7.x, libmongoc 1.22.1 or later is required. For mongocxx-3.6.x, l
<description>Additional Options for Integrators In the event that you are building the BSON C++ library and/or the C++ driver to embed with other components and you wish to avoid the potential for collision with components installed from a standard build or from a distribution package manager, you can make use of the BSONCXX_OUTPUT_BASENAME and MONGOCXX_OUTPUT_BASENAME options to cmake.
47
-
cmake .. \ -DBSONCXX_OUTPUT_BASENAME=custom_bsoncxx \ -DMONGOCXX_OUTPUT_BASENAME=custom_mongocxx The above command would produce libraries named libcustom_bsoncxx.</description>
47
+
cmake .. \ -DBSONCXX_OUTPUT_BASENAME=custom_bsoncxx \ -DMONGOCXX_OUTPUT_BASENAME=custom_mongocxx The above command would produce libraries named libcustom_bsoncxx.</description>
<description>API Versioning We use semantic versioning. bsoncxx and mongocxx both define corresponding CMake variables for MAJOR, MINOR, and PATCH. ABI Versioning Both bsoncxx and mongocxx both have a single scalar ABI version. Only bump ABI version on incompatible ABI change (not for ABI additions). We stay on ABI version _noabi (without bumping for incompatible changes) until ABI is stable. Parallel Header Installation For mongocxx, install all headers to $PREFIX/mongocxx/v$ABI/. For bsoncxx, install all headers to $PREFIX/bsoncxx/v$ABI/.</description>
65
+
<description>API Versioning We use semantic versioning. bsoncxx and mongocxx both define corresponding CMake variables for MAJOR, MINOR, and PATCH. ABI Versioning Both bsoncxx and mongocxx both have a single scalar ABI version. Only bump ABI version on incompatible ABI change (not for ABI additions). We stay on ABI version _noabi (without bumping for incompatible changes) until ABI is stable. Parallel Header Installation For mongocxx, install all headers to $PREFIX/mongocxx/v$ABI/.</description>
66
66
</item>
67
67
68
68
<item>
@@ -91,10 +91,10 @@ The mongo::client::initialize function The mongo::client::initialize function, f
91
91
<pubDate>Mon, 15 Aug 2016 16:11:58 +0530</pubDate>
<description>In the mongocxx driver, most configuration is done via the connection URI. Some additional connection options are possible via the [mongocxx::options::client] (https://mongodb.github.io/mongo-cxx-driver/api/mongocxx-v3/classmongocxx_1_1options_1_1client.html ) class.
94
+
<description>In the mongocxx driver, most configuration is done via the connection URI. Some additional connection options are possible via the mongocxx::options::client class.
95
95
Configuring TLS/SSL To enable TLS (SSL), set tls=true in the URI:
96
-
mongodb://mongodb.example.com/?tls=true
97
-
By default, mongocxx will verify server certificates against the local system CA list. You can override that either by specifying different settings in the connection string, or by creating a [mongocxx::options::tls] (https://mongodb.github.io/mongo-cxx-driver/api/mongocxx-v3/classmongocxx_1_1options_1_1tls.html ) object and passing it to tls_opts on mongocxx::options::client.</description>
96
+
mongodb://mongodb.example.com/?tls=true
97
+
By default, mongocxx will verify server certificates against the local system CA list. You can override that either by specifying different settings in the connection string, or by creating a mongocxx::options::tls object and passing it to tls_opts on mongocxx::options::client.</description>
98
98
</item>
99
99
100
100
<item>
@@ -103,7 +103,7 @@ By default, mongocxx will verify server certificates against the local system CA
103
103
<pubDate>Mon, 15 Aug 2016 16:11:58 +0530</pubDate>
<description>Table of Contents How to ask for Help Get the source code Choose a branch legacy branch Compile the Driver SCons options when Compiling the C++ Driver Targets Client Options Path Options Build Options SCons Options Windows Options Mac OS X Options Deprecated Options Windows Considerations Example C++ Driver Compilations Debug Builds Building on Windows Building against the pre-built boost binaries Building a DLL Building multiple Windows library variants Using the driver in your application Initialization and Configuration Client Headers Client Libraries Windows autolinking Linking with the static client library How to ask for Help If you are having difficulty building the driver after reading the below instructions, please post on the MongoDB Community Forums to ask for help.</description>
106
+
<description>Table of Contents How to ask for Help Get the source code Choose a branch legacy branch Compile the Driver SCons options when Compiling the C++ Driver Targets Client Options Path Options Build Options SCons Options Windows Options Mac OS X Options Deprecated Options Windows Considerations Example C++ Driver Compilations Debug Builds Building on Windows Building against the pre-built boost binaries Building a DLL Building multiple Windows library variants Using the driver in your application Initialization and Configuration Client Headers Client Libraries Windows autolinking Linking with the static client library How to ask for Help If you are having difficulty building the driver after reading the below instructions, please post on the MongoDB Community Forums to ask for help.</description>
107
107
</item>
108
108
109
109
<item>
@@ -125,11 +125,10 @@ Next, you may wish to take a look at the MongoDB Manual for a language independe
125
125
126
126
<guid>http://mongocxx.org/reporting-bugs/</guid>
127
127
<description>If you think you have found a bug or want to see a new feature in the C++ driver, please open an issue in JIRA:
128
-
Create a Jira account and login.
129
-
Navigate to the CXX project.
130
-
Click Create Issue. Provide as much information as possible about the issue and the steps to reproduce it.
131
-
Be aware that bug reports in JIRA for the C++ driver are public.
132
-
If you identify a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions found in Create a Vulnerability Report.</description>
128
+
Create a Jira account and login.
129
+
Navigate to the CXX project.
130
+
Click Create Issue. Provide as much information as possible about the issue and the steps to reproduce it.
131
+
Be aware that bug reports in JIRA for the C++ driver are public.</description>
133
132
</item>
134
133
135
134
<item>
@@ -172,10 +171,10 @@ Even if you create multiple child objects from a single client, and synchronize
<description>See the full code for this tutorial in tutorial.cpp.
175
-
Prerequisites A mongod instance running on localhost on port 27017.
176
-
The mongocxx Driver. See Installation for mongocxx.
177
-
The following statements at the top of your source file:
178
-
#include &lt;cstdint&gt;#include &lt;iostream&gt;#include &lt;vector&gt; #include &lt;bsoncxx/builder/basic/document.hpp&gt;#include &lt;bsoncxx/json.hpp&gt;#include &lt;mongocxx/client.hpp&gt;#include &lt;mongocxx/instance.hpp&gt;#include &lt;mongocxx/stdx.hpp&gt;#include &lt;mongocxx/uri.hpp&gt; using bsoncxx::builder::basic::kvp; using bsoncxx::builder::basic::make_array; using bsoncxx::builder::basic::make_document; Compiling The mongocxx driver&rsquo;s installation process will install a libmongocxx.pc file for use with pkg-config.</description>
174
+
Prerequisites A mongod instance running on localhost on port 27017.
175
+
The mongocxx Driver. See Installation for mongocxx.
176
+
The following statements at the top of your source file:
177
+
#include &lt;cstdint&gt;#include &lt;iostream&gt;#include &lt;vector&gt; #include &lt;bsoncxx/builder/basic/document.hpp&gt;#include &lt;bsoncxx/json.hpp&gt;#include &lt;mongocxx/client.hpp&gt;#include &lt;mongocxx/instance.hpp&gt;#include &lt;mongocxx/stdx.hpp&gt;#include &lt;mongocxx/uri.hpp&gt; using bsoncxx::builder::basic::kvp; using bsoncxx::builder::basic::make_array; using bsoncxx::builder::basic::make_document; Compiling The mongocxx driver&rsquo;s installation process will install a libmongocxx.</description>
<description>The mongocxx driver ships with a new library, bsoncxx. This article will go over some of the different types in this library, and how and when to use each. For more information and example code, see our examples.
200
-
Document Builders Owning BSON Documents (values) Non-owning BSON Documents (views) Optionally-owning BSON Documents(view_or_value) BSON Document Lifetime Printing BSON Documents Getting Fields out of BSON Documents Document Builders The bsoncxx library offers four interfaces for building BSON: one-off functions, a basic builder, a list builder and a stream-based builder.</description>
199
+
Document Builders Owning BSON Documents (values) Non-owning BSON Documents (views) Optionally-owning BSON Documents(view_or_value) BSON Document Lifetime Printing BSON Documents Getting Fields out of BSON Documents Document Builders The bsoncxx library offers four interfaces for building BSON: one-off functions, a basic builder, a list builder and a stream-based builder.</description>
Copy file name to clipboardExpand all lines: legacy-v1/breaking-changes/index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1717,7 +1717,7 @@ <h2 id="changes-to-apis">Changes to APIs</h2>
1717
1717
<li>The <code>ensureIndex</code> and related methods have been removed. The replacement is the new <code>createIndex</code> method.</li>
1718
1718
<li><code>IndexSpec::dropDuplicates()</code> is now deprecated as it is a no-op in MongoDB 3.0.</li>
1719
1719
<li>The <code>QUERY</code> macro has been replaced by <code>MONGO_QUERY</code>.</li>
1720
-
<li>The <code>ConnectionString::parse</code> method now requires it’s argument to be in the MongoDB URL (“mongodb://…”) format. To use the old format, use the new <code>ConnectionString::parseDeprecated</code> method.</li>
1720
+
<li>The <code>ConnectionString::parse</code> method now requires it’s argument to be in the MongoDB URL (“mongodb://…") format. To use the old format, use the new <code>ConnectionString::parseDeprecated</code> method.</li>
1721
1721
<li>The <code>ConnectionPool</code> and <code>ScopedDbConnection</code> classes have been removed.</li>
0 commit comments