![]() |
Mangrove
The C++ Object Document Mapper for MongoDB
|
Expression that updates field using the $bit operator, which does bitwise operations using a mask. 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 as an expression '$bit: { <field>: { <and|or|xor>: <int> } }'. More... | |
Expression that updates field using the $bit operator, which does bitwise operations using a mask.
NvpT | The name-value-pair type corresponding to a field |
Integer | The integral type used as a bit mask |
|
inline |
Appends this query to a BSON core builder as an expression '$bit: { <field>: { <and|or|xor>: <int> } }'.
builder | A basic BSON core builder. |
Whether | to wrap this expression inside a document. |