MongoDB C++ Driver
mongocxx-3.7.0
|
17 #include <bsoncxx/array/view_or_value.hpp>
18 #include <bsoncxx/document/view_or_value.hpp>
20 #include <bsoncxx/config/prelude.hpp>
23 BSONCXX_INLINE_NAMESPACE_BEGIN
101 return {std::move(doc)};
115 return {std::move(
array)};
119 BSONCXX_INLINE_NAMESPACE_END
122 #include <bsoncxx/config/postlude.hpp>
Top level namespace for MongoDB C++ BSON functionality.
Definition: element.hpp:24
Container to concatenate an array.
Definition: concatenate.hpp:62
A read-only, non-owning view of a BSON document.
Definition: view.hpp:40
Container to concatenate a document.
Definition: concatenate.hpp:30
concatenate_doc concatenate(document::view_or_value doc)
Helper method to concatenate a document.
Definition: concatenate.hpp:100
document::view view() const
Accessor that provides a view of the wrapped concatenate document.
Definition: concatenate.hpp:53
array::view view() const
Accessor that provides a view of the wrapped concatenate array.
Definition: concatenate.hpp:85
bson_value::view view()
Provides a view of the underlying BSON value.
Definition: list.hpp:90
A JSON-like builder for creating arrays.
Definition: list.hpp:166
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
concatenate_array concatenate(array::view_or_value array)
Method to concatenate an array with a new array.
Definition: concatenate.hpp:114