MongoDB C++ Driver  mongocxx-3.0.1
Public Member Functions | Related Functions | 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. More...
 
 operator stdx::string_view ()
 Conversion operator unwrapping a string_view.
 

Related Functions

(Note that these are not member functions.)

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

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

Constructor for b_code.

Parameters
codeThe js code

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