MongoDB C++ Driver  mongocxx-3.0.2
Public Member Functions | Related Functions | List of all members
bsoncxx::types::b_codewscope Struct Reference

A BSON JavaScript code with scope value. More...

#include <types.hpp>

Public Member Functions

template<typename T , typename U >
 b_codewscope (T &&code, U &&scope)
 Constructor for b_codewscope. More...
 

Related Functions

(Note that these are not member functions.)

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

Detailed Description

A BSON JavaScript code with scope value.

Constructor & Destructor Documentation

template<typename T , typename U >
bsoncxx::types::b_codewscope::b_codewscope ( T &&  code,
U &&  scope 
)
inlineexplicit

Constructor for b_codewscope.

Parameters
codeThe js code
scopeA bson document view holding the scope environment.

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