[SERVER-6396] Add C++ helper function for $and queries. Created: 11/Jul/12  Updated: 24/Feb/17  Resolved: 24/Feb/17

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: 2.1.2
Fix Version/s: None

Type: New Feature Priority: Trivial - P5
Reporter: Pieter Willem Jordaan Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: cxxcopy, driver, query
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File snippet.cpp    
Participants:

 Description   

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.



 Comments   
Comment by Eric Milkie [ 24/Feb/17 ]

Currently, the legacy C++ driver is currently only getting critical bug/security fixes, not new features.
We encourage users to migrate to the new 'mongocxx' driver for much greater stability, configurability and support for new MongoDB server features.
See the C++ driver docs site for details on mongocxx.

Generated at Thu Feb 08 03:11:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.