MongoDB C++ Driver  legacy-1.1.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Deprecated List
Member mongo::BSONObjBuilder::appendOID (const StringData &fieldName, OID *oid=0, bool generateIfBlank=false)
Generally, it is preferred to use the append append(name, oid) method for this.