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

Request NULL support in BSON ans QUERY macro

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.1.0
    • Internal Client
    • None

    Description

      > 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: