Details
-
Question
-
Resolution: Done
-
Trivial - P5
-
None
-
None
-
None
-
None
-
64bit, ubuntu 11.10, cxx
Description
How do I do this (select person from people where name like 'john%'), on the cxx driver?
Currently this is how I achieve my exact matches:-
auto_ptr<mongo::DBClientCursor> cursor =
(*conn).query(NS_INVENTORY, BSON("Name" << name))
Thank you!