Add C++ helper function for $and queries.

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Incomplete
    • Priority: Trivial - P5
    • None
    • Affects Version/s: 2.1.2
    • Component/s: Internal Client
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The C++ driver contains a simple helper inline function for $or queries. It would be helpful to implement the same for the $and queries as well. It would be a trivial implementation to add at the bottom of bsonobjbuilder.h

      I am attaching a snippet to append at the bottom of bsonobjbuilder.h.

        1. snippet.cpp
          0.8 kB
          Pieter Willem Jordaan

            Assignee:
            Unassigned
            Reporter:
            Pieter Willem Jordaan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: