MongoDB C++ Driver
mongocxx-3.0.1
|
A traditional builder-style interface for constructing a BSON document. More...
#include <document.hpp>
Public Member Functions | |
bsoncxx::document::view | view () const |
operator bsoncxx::document::view () const | |
Conversion operator that provides a view of the current builder contents. More... | |
bsoncxx::document::value | extract () |
Transfer ownership of the underlying document to the caller. More... | |
void | clear () |
Reset the underlying BSON to an empty document. | |
Public Member Functions inherited from bsoncxx::builder::basic::sub_document | |
template<typename Arg , typename... Args> | |
void | append (Arg &&a, Args &&...args) |
Appends multiple basic::kvp key-value pairs. | |
void | append () |
Inductive base-case for the variadic append(...) | |
A traditional builder-style interface for constructing a BSON document.
|
inline |
Transfer ownership of the underlying document to the caller.
|
inline |
Conversion operator that provides a view of the current builder contents.
|
inline |