MongoDB C++ Driver mongocxx-3.10.1
Loading...
Searching...
No Matches
Public Member Functions | Related Symbols | List of all members
bsoncxx::v_noabi::builder::concatenate_array Struct Reference

Container to concatenate an array. More...

#include <concatenate.hpp>

Public Member Functions

 operator array::view () const
 Conversion operator that provides a view of the wrapped concatenate array.
 
array::view view () const
 Accessor that provides a view of the wrapped concatenate array.
 

Related Symbols

(Note that these are not member symbols.)

concatenate_array concatenate (array::view_or_value array)
 Method to concatenate an array with a new array.
 

Detailed Description

Container to concatenate an array.

Use this with the array stream builder in order to pass an array into a new builder and append its values to the stream.

Member Function Documentation

◆ operator array::view()

bsoncxx::v_noabi::builder::concatenate_array::operator array::view ( ) const
inline

Conversion operator that provides a view of the wrapped concatenate array.

Returns
A view of the wrapped concatenate array.

◆ view()

Accessor that provides a view of the wrapped concatenate array.

Returns
A view of the wrapped concatenate array.

Friends And Related Symbol Documentation

◆ concatenate()

concatenate_array concatenate ( array::view_or_value  array)
related

Method to concatenate an array with a new array.

Use this with the array stream builder to merge an existing array's fields with a new array.

Parameters
arrayAn array to be concatenated.
Returns
concatenate_array A concatenating struct.

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