Skip to content

Commit 5c29afd

Browse files
committed
CXX-1149 Update CXX source server manual URLs
1 parent 7492fc5 commit 5c29afd

26 files changed

+160
-160
lines changed

src/bsoncxx/oid.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ BSONCXX_INLINE_NAMESPACE_BEGIN
3333
/// @note we use 'oid' to refer to this concrete class. We use 'ObjectId' to refer
3434
/// to the BSON type.
3535
///
36-
/// @see http://docs.mongodb.org/manual/reference/object-id/
36+
/// @see https://docs.mongodb.com/master/reference/object-id/
3737
///
3838
class BSONCXX_API oid {
3939
public:

src/mongocxx/bulk_write.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class collection;
3535
/// method. Options that you would typically specify for individual write operations (such as write
3636
/// concern) are instead specified for the aggregate operation.
3737
///
38-
/// @see http://docs.mongodb.org/manual/core/write-operations/
39-
/// @see http://docs.mongodb.org/manual/core/bulk-write-operations/
38+
/// @see https://docs.mongodb.com/master/core/crud/
39+
/// @see https://docs.mongodb.com/master/core/bulk-write-operations/
4040
///
4141
class MONGOCXX_API bulk_write {
4242
public:

src/mongocxx/client.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class MONGOCXX_API client {
9999
/// @param rc
100100
/// The new @c read_concern
101101
///
102-
/// @see https://docs.mongodb.org/manual/reference/read-concern/
102+
/// @see https://docs.mongodb.com/master/reference/read-concern/
103103
///
104104
void read_concern(class read_concern rc);
105105

@@ -120,7 +120,7 @@ class MONGOCXX_API client {
120120
/// @param rp
121121
/// The new @c read_preference
122122
///
123-
/// @see http://docs.mongodb.org/manual/core/read-preference/
123+
/// @see https://docs.mongodb.com/master/core/read-preference/
124124
///
125125
void read_preference(class read_preference rp);
126126

@@ -129,7 +129,7 @@ class MONGOCXX_API client {
129129
///
130130
/// @return The current @c read_preference
131131
///
132-
/// @see http://docs.mongodb.org/manual/core/read-preference/
132+
/// @see https://docs.mongodb.com/master/core/read-preference/
133133
///
134134
class read_preference read_preference() const;
135135

@@ -196,7 +196,7 @@ class MONGOCXX_API client {
196196
///
197197
/// @throws mongocxx::operation_exception if the underlying 'listDatabases' command fails.
198198
///
199-
/// @see http://docs.mongodb.org/manual/reference/command/listDatabases
199+
/// @see https://docs.mongodb.com/master/reference/command/listDatabases
200200
///
201201
cursor list_databases() const;
202202

src/mongocxx/collection.hpp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class MONGOCXX_API collection {
124124
/// the cursor throws mongocxx::query_exception when the returned cursor
125125
/// is iterated.
126126
///
127-
/// @see http://docs.mongodb.org/manual/reference/command/aggregate/
127+
/// @see https://docs.mongodb.com/master/reference/command/aggregate/
128128
///
129129
/// @note
130130
/// In order to pass a read or write concern to this, you must use the
@@ -154,7 +154,7 @@ class MONGOCXX_API collection {
154154
/// @throws mongocxx::bulk_write_exception when there are errors processing the writes.
155155
///
156156
/// @see mongocxx::bulk_write
157-
/// @see http://docs.mongodb.org/manual/core/bulk-write-operations/
157+
/// @see https://docs.mongodb.com/master/core/bulk-write-operations/
158158
///
159159
template <typename container_type>
160160
MONGOCXX_INLINE stdx::optional<result::bulk_write> bulk_write(
@@ -180,7 +180,7 @@ class MONGOCXX_API collection {
180180
/// @throws mongocxx::bulk_write_exception when there are errors processing the writes.
181181
///
182182
/// @see mongocxx::bulk_write
183-
/// @see http://docs.mongodb.org/manual/core/bulk-write-operations/
183+
/// @see https://docs.mongodb.com/master/core/bulk-write-operations/
184184
///
185185
template <typename write_model_iterator_type>
186186
MONGOCXX_INLINE stdx::optional<result::bulk_write> bulk_write(
@@ -197,7 +197,7 @@ class MONGOCXX_API collection {
197197
///
198198
/// @throws mongocxx::bulk_write_exception when there are errors processing the writes.
199199
///
200-
/// @see http://docs.mongodb.org/manual/core/bulk-write-operations/
200+
/// @see https://docs.mongodb.com/master/core/bulk-write-operations/
201201
///
202202
stdx::optional<result::bulk_write> bulk_write(const class bulk_write& bulk_write);
203203

@@ -213,7 +213,7 @@ class MONGOCXX_API collection {
213213
///
214214
/// @throws mongocxx::query_exception if the count operation fails.
215215
///
216-
/// @see http://docs.mongodb.org/manual/reference/command/count/
216+
/// @see https://docs.mongodb.com/master/reference/command/count/
217217
///
218218
std::int64_t count(bsoncxx::document::view_or_value filter,
219219
const options::count& options = options::count());
@@ -229,7 +229,7 @@ class MONGOCXX_API collection {
229229
/// @throws mongocxx::logic_error if the options are invalid.
230230
/// @throws mongocxx::operation_exception if index creation fails.
231231
///
232-
/// @see http://docs.mongodb.org/manual/reference/method/db.collection.createIndex/
232+
/// @see https://docs.mongodb.com/master/reference/method/db.collection.createIndex/
233233
///
234234
/// @note
235235
/// In order to pass a write concern to this, you must use the collection
@@ -253,7 +253,7 @@ class MONGOCXX_API collection {
253253
///
254254
/// @throws mongocxx::bulk_write_exception if the delete fails.
255255
///
256-
/// @see http://docs.mongodb.org/manual/reference/command/delete/
256+
/// @see https://docs.mongodb.com/master/reference/command/delete/
257257
///
258258
stdx::optional<result::delete_result> delete_many(
259259
bsoncxx::document::view_or_value filter,
@@ -273,7 +273,7 @@ class MONGOCXX_API collection {
273273
///
274274
/// @throws mongocxx::bulk_write_exception if the delete fails.
275275
///
276-
/// @see http://docs.mongodb.org/manual/reference/command/delete/
276+
/// @see https://docs.mongodb.com/master/reference/command/delete/
277277
///
278278
stdx::optional<result::delete_result> delete_one(
279279
bsoncxx::document::view_or_value filter,
@@ -293,7 +293,7 @@ class MONGOCXX_API collection {
293293
/// field. If the operation fails, the cursor throws
294294
/// mongocxx::query_exception when the returned cursor is iterated.
295295

296-
/// @see http://docs.mongodb.org/manual/reference/command/distinct/
296+
/// @see https://docs.mongodb.com/master/reference/command/distinct/
297297
///
298298
cursor distinct(bsoncxx::string::view_or_value name, bsoncxx::document::view_or_value filter,
299299
const options::distinct& options = options::distinct());
@@ -302,7 +302,7 @@ class MONGOCXX_API collection {
302302
///
303303
/// @throws mongocxx::operation_exception if the operation fails.
304304
///
305-
/// @see http://docs.mongodb.org/manual/reference/method/db.collection.drop/
305+
/// @see https://docs.mongodb.com/master/reference/method/db.collection.drop/
306306
///
307307
/// @note
308308
/// In order to pass a write concern to this, you must use the collection
@@ -326,7 +326,7 @@ class MONGOCXX_API collection {
326326
/// @throws mongocxx::logic_error if the options are invalid, or if the unsupported option
327327
/// modifiers "$query" or "$explain" are used.
328328
///
329-
/// @see http://docs.mongodb.org/manual/core/read-operations-introduction/
329+
/// @see https://docs.mongodb.com/master/core/read-operations-introduction/
330330
///
331331
cursor find(bsoncxx::document::view_or_value filter,
332332
const options::find& options = options::find());
@@ -343,7 +343,7 @@ class MONGOCXX_API collection {
343343
///
344344
/// @throws mongocxx::query_exception if the operation fails.
345345
///
346-
/// @see http://docs.mongodb.org/manual/core/read-operations-introduction/
346+
/// @see https://docs.mongodb.com/master/core/read-operations-introduction/
347347
///
348348
stdx::optional<bsoncxx::document::value> find_one(
349349
bsoncxx::document::view_or_value filter, const options::find& options = options::find());
@@ -496,7 +496,7 @@ class MONGOCXX_API collection {
496496
///
497497
/// @throws mongocxx::operation_exception if the operation fails.
498498
///
499-
/// @see http://docs.mongodb.org/manual/reference/command/listIndexes/
499+
/// @see https://docs.mongodb.com/master/reference/command/listIndexes/
500500
///
501501
cursor list_indexes() const;
502502

@@ -516,7 +516,7 @@ class MONGOCXX_API collection {
516516
///
517517
/// @throws mongocxx::operation_exception if the operation fails.
518518
///
519-
/// @see https://docs.mongodb.org/manual/reference/command/renameCollection/
519+
/// @see https://docs.mongodb.com/master/reference/command/renameCollection/
520520
///
521521
/// @note
522522
/// In order to pass a write concern to this, you must use the collection
@@ -532,7 +532,7 @@ class MONGOCXX_API collection {
532532
/// @param rc
533533
/// The new @c read_concern
534534
///
535-
/// @see https://docs.mongodb.org/manual/reference/read-concern/
535+
/// @see https://docs.mongodb.com/master/reference/read-concern/
536536
///
537537
void read_concern(class read_concern rc);
538538

@@ -553,7 +553,7 @@ class MONGOCXX_API collection {
553553
/// @param rp
554554
/// The read_preference to set.
555555
///
556-
/// @see http://docs.mongodb.org/manual/core/read-preference/
556+
/// @see https://docs.mongodb.com/master/core/read-preference/
557557
///
558558
void read_preference(class read_preference rp);
559559

@@ -562,7 +562,7 @@ class MONGOCXX_API collection {
562562
///
563563
/// @return The current read_preference.
564564
///
565-
/// @see http://docs.mongodb.org/manual/core/read-preference/
565+
/// @see https://docs.mongodb.com/master/core/read-preference/
566566
///
567567
class read_preference read_preference() const;
568568

@@ -584,7 +584,7 @@ class MONGOCXX_API collection {
584584
/// mongocxx::logic_error if the replacement is invalid, or mongocxx::bulk_write_exception if
585585
/// the operation fails.
586586
///
587-
/// @see http://docs.mongodb.org/manual/reference/command/update/
587+
/// @see https://docs.mongodb.com/master/reference/command/update/
588588
///
589589
stdx::optional<result::replace_one> replace_one(
590590
bsoncxx::document::view_or_value filter, bsoncxx::document::view_or_value replacement,
@@ -608,7 +608,7 @@ class MONGOCXX_API collection {
608608
/// mongocxx::logic_error if the update is invalid, or mongocxx::bulk_write_exception if the
609609
/// operation fails.
610610
///
611-
/// @see http://docs.mongodb.org/manual/reference/command/update/
611+
/// @see https://docs.mongodb.com/master/reference/command/update/
612612
///
613613
stdx::optional<result::update> update_many(bsoncxx::document::view_or_value filter,
614614
bsoncxx::document::view_or_value update,
@@ -632,7 +632,7 @@ class MONGOCXX_API collection {
632632
/// mongocxx::logic_error if the update is invalid, or mongocxx::bulk_write_exception if the
633633
/// operation fails.
634634
///
635-
/// @see http://docs.mongodb.org/manual/reference/command/update/
635+
/// @see https://docs.mongodb.com/master/reference/command/update/
636636
///
637637
stdx::optional<result::update> update_one(bsoncxx::document::view_or_value filter,
638638
bsoncxx::document::view_or_value update,

src/mongocxx/database.hpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class MONGOCXX_API database {
8484
///
8585
/// Runs a command against this database.
8686
///
87-
/// @see http://docs.mongodb.org/manual/reference/method/db.runCommand/
87+
/// @see https://docs.mongodb.com/master/reference/method/db.runCommand/
8888
///
8989
/// @param command document representing the command to be run.
9090
/// @return the result of executing the command.
@@ -96,7 +96,7 @@ class MONGOCXX_API database {
9696
///
9797
/// Explicitly creates a collection in this database with the specified options.
9898
///
99-
/// @see http://docs.mongodb.org/manual/reference/method/db.createCollection/
99+
/// @see https://docs.mongodb.com/master/reference/method/db.createCollection/
100100
///
101101
/// @param name the new collection's name.
102102
/// @param options the options for the new collection.
@@ -142,7 +142,7 @@ class MONGOCXX_API database {
142142
/// This method is deprecated. To modify an existing collection, invoke the "collMod" command
143143
/// with database::run_command().
144144
///
145-
/// @see https://docs.mongodb.org/manual/reference/command/collMod/
145+
/// @see https://docs.mongodb.com/master/reference/command/collMod/
146146
///
147147
/// @param name the name of the collection to be modified.
148148
/// @param options the modifications to be performed.
@@ -158,7 +158,7 @@ class MONGOCXX_API database {
158158
///
159159
/// @throws mongocxx::operation_exception if the operation fails.
160160
//
161-
/// @see http://docs.mongodb.org/manual/reference/method/db.dropDatabase/
161+
/// @see https://docs.mongodb.com/master/reference/method/db.dropDatabase/
162162
///
163163
/// @note
164164
/// In order to pass a write concern to this, you must use the database
@@ -190,7 +190,7 @@ class MONGOCXX_API database {
190190
/// @throws mongocxx::operation_exception if the underlying 'listCollections'
191191
/// command fails.
192192
///
193-
/// @see http://docs.mongodb.org/manual/reference/command/listCollections/
193+
/// @see https://docs.mongodb.com/master/reference/command/listCollections/
194194
///
195195
cursor list_collections(bsoncxx::document::view_or_value filter = {});
196196

@@ -211,7 +211,7 @@ class MONGOCXX_API database {
211211
/// @param rc
212212
/// The new @c read_concern
213213
///
214-
/// @see https://docs.mongodb.org/manual/reference/read-concern/
214+
/// @see https://docs.mongodb.com/master/reference/read-concern/
215215
///
216216
void read_concern(class read_concern rc);
217217

@@ -232,7 +232,7 @@ class MONGOCXX_API database {
232232
/// from this database, but do affect new ones. New collections will receive a copy of the
233233
/// new read_preference for this database upon instantiation.
234234
///
235-
/// @see http://docs.mongodb.org/manual/core/read-preference/
235+
/// @see https://docs.mongodb.com/master/core/read-preference/
236236
///
237237
/// @param rp the new read_preference.
238238
///
@@ -241,7 +241,7 @@ class MONGOCXX_API database {
241241
///
242242
/// The current read preference for this database.
243243
///
244-
/// @see http://docs.mongodb.org/manual/core/read-preference/
244+
/// @see https://docs.mongodb.com/master/core/read-preference/
245245
///
246246
/// @return the current read_preference
247247
///

src/mongocxx/options/aggregate.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class MONGOCXX_API aggregate {
9292
/// @param max_time
9393
/// The max amount of time (in milliseconds).
9494
///
95-
/// @see http://docs.mongodb.org/manual/reference/operator/meta/maxTimeMS
95+
/// @see https://docs.mongodb.com/master/reference/operator/meta/maxTimeMS
9696
///
9797
aggregate& max_time(std::chrono::milliseconds max_time);
9898

@@ -102,7 +102,7 @@ class MONGOCXX_API aggregate {
102102
/// @return
103103
/// The current max time (in milliseconds).
104104
///
105-
/// @see http://docs.mongodb.org/manual/reference/operator/meta/maxTimeMS
105+
/// @see https://docs.mongodb.com/master/reference/operator/meta/maxTimeMS
106106
///
107107
const stdx::optional<std::chrono::milliseconds>& max_time() const;
108108

@@ -131,7 +131,7 @@ class MONGOCXX_API aggregate {
131131
///
132132
/// @param rp the new read_preference
133133
///
134-
/// @see http://docs.mongodb.org/manual/core/read-preference/
134+
/// @see https://docs.mongodb.com/master/core/read-preference/
135135
///
136136
aggregate& read_preference(class read_preference rp);
137137

@@ -140,7 +140,7 @@ class MONGOCXX_API aggregate {
140140
///
141141
/// @return the current read_preference
142142
///
143-
/// @see http://docs.mongodb.org/manual/core/read-preference/
143+
/// @see https://docs.mongodb.com/master/core/read-preference/
144144
///
145145
const stdx::optional<class read_preference>& read_preference() const;
146146

src/mongocxx/options/bulk_write.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class MONGOCXX_API bulk_write {
6161
/// @param wc
6262
/// The new write_concern.
6363
///
64-
/// @see http://docs.mongodb.org/manual/core/write-concern/
64+
/// @see https://docs.mongodb.com/master/core/write-concern/
6565
///
6666
bulk_write& write_concern(class write_concern wc);
6767

@@ -71,7 +71,7 @@ class MONGOCXX_API bulk_write {
7171
/// @return
7272
/// The current write_concern.
7373
///
74-
/// @see http://docs.mongodb.org/manual/core/write-concern/
74+
/// @see https://docs.mongodb.com/master/core/write-concern/
7575
///
7676
const stdx::optional<class write_concern>& write_concern() const;
7777

0 commit comments

Comments
 (0)