mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
string verstion of getFieldDotted
This commit is contained in:
parent
30b1524a77
commit
a5b8c2b7cf
@ -110,6 +110,13 @@ namespace mongo {
|
||||
supports "." notation to reach into embedded objects
|
||||
*/
|
||||
BSONElement getFieldDotted(const char *name) const;
|
||||
/** return has eoo() true if no match
|
||||
supports "." notation to reach into embedded objects
|
||||
*/
|
||||
BSONElement getFieldDotted(const string& name) const {
|
||||
return getFieldDotted( name.c_str() );
|
||||
}
|
||||
|
||||
/** Like getFieldDotted(), but expands multikey arrays and returns all matching objects
|
||||
*/
|
||||
void getFieldsDotted(const char *name, BSONElementSet &ret ) const;
|
||||
|
Loading…
Reference in New Issue
Block a user