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

Request NULL support in BSON ans QUERY macro

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Internal Client
    • Labels:
      None

      > The labels GT, GTE, LT, LTE, NE can be helpful for stream-oriented construction
      > of a BSONObj, particularly when assembling a Query. For example,
      > BSON( "a" << GT << 23.4 << NE << 30 << "b" << 2 )

      I need NULL support in BSON and QUERY macro, so it call appendNull("field") for
      construction BSON("field" << NULL). Stream oriented queries much easy readable and
      requires the same CPU time to construction as direct BSONObjBuilder::append() calls.

            Assignee:
            matulef Kevin Matulef
            Reporter:
            san Alex Syrnikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: