Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8469

Consider using mutable BSON for Query::appendComplex

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Internal Client
    • None
    • Fully Compatible

    Description

      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();
              }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: