Details
-
Bug
-
Resolution: Done
-
Major - P3
-
0.2.0
-
None
Description
When constructing a query in the C++ driver, the following:
const char *term = "value";
document{} << "attribute" << term;
casts the second argument (term) to bool, creating a query "attribute"=true instead of the expected "attribute" = "value". The example assumes that the attached JSON file has been loaded to collection testCollection in database test.