MongoDB C++ Driver mongocxx-3.0.0
Loading...
Searching...
No Matches
Public Member Functions | Related Symbols | List of all members
bsoncxx::types::b_code Struct Reference

A BSON JavaScript code value. More...

#include <types.hpp>

Public Member Functions

template<typename T >
 b_code (T &&code)
 Constructor for b_code.
 
 operator stdx::string_view ()
 Conversion operator unwrapping a string_view.
 

Related Symbols

(Note that these are not member symbols.)

bool operator== (const b_code &lhs, const b_code &rhs)
 free function comparator for b_code
 

Detailed Description

A BSON JavaScript code value.

Warning
This BSON type is used internally by the MongoDB server - use by clients is discouraged.

Constructor & Destructor Documentation

◆ b_code()

template<typename T >
bsoncxx::types::b_code::b_code ( T &&  code)
inlineexplicit

Constructor for b_code.

Parameters
codeThe js code

Friends And Related Symbol Documentation

◆ operator==()

bool operator== ( const b_code lhs,
const b_code rhs 
)
related

free function comparator for b_code


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