MongoDB C++ Driver
mongocxx-3.10.2
|
Container to concatenate a document. More...
#include <concatenate.hpp>
Public Member Functions | |
operator document::view () const | |
Conversion operator that provides a view of the wrapped concatenate document. More... | |
document::view | view () const |
Accessor that provides a view of the wrapped concatenate document. More... | |
Related Functions | |
(Note that these are not member functions.) | |
concatenate_doc | concatenate (document::view_or_value doc) |
Helper method to concatenate a document. More... | |
Container to concatenate a document.
Use it by constructing an instance with the document to be concatenated, and pass it into a document stream builder.
|
inline |
Conversion operator that provides a view of the wrapped concatenate document.
|
inline |
Accessor that provides a view of the wrapped concatenate document.
|
related |
Helper method to concatenate a document.
Use this with the document stream builder to merge an existing document's fields with a new document's.
doc | A document to be concatenated. |