MongoDB C++ Driver mongocxx-3.11.0
|
#include <bsoncxx/v_noabi/bsoncxx/builder/list.hpp>
A JSON-like builder for creating arrays.
Public Member Functions | |
array () | |
Creates an empty array. | |
array (initializer_list_t init) | |
Creates a BSON array. | |
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 array.
|
inline |
Creates a BSON array.
init | the initializer list used to construct the BSON array |