Consider using mutable BSON for Query::appendComplex

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Client
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      More background:

      Current code looks like this:

              void appendComplex( const char *fieldName, const T& val ) {
                  makeComplex();
                  BSONObjBuilder b;
                  b.appendElements(obj);
                  b.append(fieldName, val);
                  obj = b.obj();
              }
      

            Assignee:
            Unassigned
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: