![]() |
Mangrove
The C++ Object Document Mapper for MongoDB
|
An expression that wraps another expression and adds an $isolated operator. More...
#include <query_builder.hpp>
Public Member Functions | |
void | append_to_bson (bsoncxx::builder::core &builder, bool wrap=false) const |
Appends this query to a BSON core builder, with $isolated set as an extra field. More... | |
operator bsoncxx::document::view_or_value () const | |
Converts this query to BSON, in the form {$isolated: 1, <underlying expression="" bson>="">}. | |
An expression that wraps another expression and adds an $isolated operator.
|
inline |
Appends this query to a BSON core builder, with $isolated set as an extra field.
builder | A basic BSON core builder. |
Whether | to wrap this expression inside a document. |