Skip to content

Commit 55dbe2d

Browse files
authored
v1: update_many_options and update_one_options (CXX-3237, CXX-3238) (#1530)
1 parent 208d4f2 commit 55dbe2d

File tree

12 files changed

+1136
-116
lines changed

12 files changed

+1136
-116
lines changed

src/mongocxx/include/mongocxx/v1/update_many_options.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ class update_many_options {
192192
/// Return the current "arrayFilters" field.
193193
///
194194
MONGOCXX_ABI_EXPORT_CDECL(bsoncxx::v1::stdx::optional<bsoncxx::v1::array::view>) array_filters() const;
195+
196+
class internal;
195197
};
196198

197199
} // namespace v1

src/mongocxx/include/mongocxx/v1/update_one_options.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ class update_one_options {
192192
/// Return the current "arrayFilters" field.
193193
///
194194
MONGOCXX_ABI_EXPORT_CDECL(bsoncxx::v1::stdx::optional<bsoncxx::v1::array::view>) array_filters() const;
195+
196+
class internal;
195197
};
196198

197199
} // namespace v1

src/mongocxx/include/mongocxx/v_noabi/mongocxx/options/update-fwd.hpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
#pragma once
1616

17+
#include <mongocxx/v1/update_many_options-fwd.hpp> // IWYU pragma: export
18+
#include <mongocxx/v1/update_one_options-fwd.hpp> // IWYU pragma: export
19+
1720
#include <mongocxx/config/prelude.hpp>
1821

1922
namespace mongocxx {
@@ -29,7 +32,7 @@ class update;
2932
namespace mongocxx {
3033
namespace options {
3134

32-
using ::mongocxx::v_noabi::options::update;
35+
using v_noabi::options::update;
3336

3437
} // namespace options
3538
} // namespace mongocxx
@@ -40,3 +43,7 @@ using ::mongocxx::v_noabi::options::update;
4043
/// @file
4144
/// Declares @ref mongocxx::v_noabi::options::update.
4245
///
46+
/// @par Includes
47+
/// - @ref mongocxx/v1/update_many_options-fwd.hpp
48+
/// - @ref mongocxx/v1/update_one_options-fwd.hpp
49+
///

0 commit comments

Comments
 (0)