MongoDB C++ Driver  mongocxx-3.10.2
Public Member Functions | List of all members
bsoncxx::v_noabi::builder::document Class Reference

A JSON-like builder for creating documents. More...

#include <list.hpp>

+ Inheritance diagram for bsoncxx::v_noabi::builder::document:

Public Member Functions

 document ()
 Creates an empty document.
 
 document (initializer_list_t init)
 Creates a BSON document. More...
 
- Public Member Functions inherited from bsoncxx::v_noabi::builder::list
 list ()
 Creates an empty document.
 
template<typename T >
 list (T value)
 Creates a bsoncxx::v_noabi::builder::list from a value of type T. More...
 
 list (initializer_list_t init)
 Creates a BSON document, if possible. More...
 
 operator bson_value::view ()
 Provides a view of the underlying BSON value. More...
 
bson_value::view view ()
 Provides a view of the underlying BSON value. More...
 

Detailed Description

A JSON-like builder for creating documents.

Constructor & Destructor Documentation

◆ document()

bsoncxx::v_noabi::builder::document::document ( initializer_list_t  init)
inline

Creates a BSON document.

Parameters
initthe initializer list used to construct the BSON document
See also
bsoncxx::v_noabi::builder::list
bsoncxx::v_noabi::builder::array

The documentation for this class was generated from the following file: