Request NULL support in BSON ans QUERY macro

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: Internal Client
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Alex Bevilacqua
            Reporter:
            Alex Syrnikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: