17 #include <bsoncxx/builder/concatenate-fwd.hpp>
19 #include <bsoncxx/array/view_or_value.hpp>
20 #include <bsoncxx/document/view_or_value.hpp>
22 #include <bsoncxx/config/prelude.hpp>
103 return {std::move(doc)};
117 return {std::move(
array)};
127 using ::bsoncxx::v_noabi::builder::concatenate;
132 #include <bsoncxx/config/postlude.hpp>
A read-only, non-owning view of a BSON document.
Definition: view.hpp:36
A JSON-like builder for creating arrays.
Definition: list.hpp:180
bson_value::view view()
Provides a view of the underlying BSON value.
Definition: list.hpp:103
A read-only, non-owning view of a BSON document.
Definition: view.hpp:35
The top-level namespace for bsoncxx library entities.
Definition: element-fwd.hpp:19
Container to concatenate an array.
Definition: concatenate.hpp:64
array::view view() const
Accessor that provides a view of the wrapped concatenate array.
Definition: concatenate.hpp:87
concatenate_array concatenate(array::view_or_value array)
Method to concatenate an array with a new array.
Definition: concatenate.hpp:116
Container to concatenate a document.
Definition: concatenate.hpp:32
concatenate_doc concatenate(document::view_or_value doc)
Helper method to concatenate a document.
Definition: concatenate.hpp:102
document::view view() const
Accessor that provides a view of the wrapped concatenate document.
Definition: concatenate.hpp:55