[CXX-1775] something like BSONRegEx in older version Created: 25/May/19  Updated: 27/Oct/23  Resolved: 10/Sep/19

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Mohammed Khalid Ansari Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hi,

I am looking for something like BSONRegEx available in older version. eg

BSONArrayBuilder regexes;
for(auto& url : urls)    // urls is vector of strings

{     regexes.append(BSONRegEx(url, "i")); }

builder << "host" << BSON("$in" << regexes.arr());

Kindly let me know how I can achieve this in new mongocxx driver.



 Comments   
Comment by Rathi Gnanasekaran [ 10/Sep/19 ]

mkansari this project is reporting bugs or feature requests in the CXX project. Please post your question in the mongodb-user list for broader feedback from MongoDB engineers and the community.

Generated at Wed Feb 07 22:03:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.