MongoDB C++ Driver mongocxx-3.11.0
|
#include <bsoncxx/v_noabi/bsoncxx/builder/list.hpp>
A JSON-like builder for creating documents.
Public Member Functions | |
document () | |
Creates an empty document. | |
document (initializer_list_t init) | |
Creates a BSON document. | |
Public Member Functions inherited from bsoncxx::v_noabi::builder::list | |
list () | |
Creates an empty document. | |
list (initializer_list_t init) | |
Creates a BSON document, if possible. Otherwise, it will create a BSON array. A document is possible if: | |
template<typename T > | |
list (T value) | |
Creates a bsoncxx::v_noabi::builder::list from a value of type T. T must be a bsoncxx::v_noabi::types::bson_value::value or implicitly convertible to a bsoncxx::v_noabi::types::bson_value::value. | |
operator bson_value::view () | |
Provides a view of the underlying BSON value. | |
bson_value::view | view () |
Provides a view of the underlying BSON value. | |
|
inline |
Creates an empty document.
|
inline |
Creates a BSON document.
init | the initializer list used to construct the BSON document |