diff options
Diffstat (limited to 'tools/tool.h')
-rw-r--r-- | tools/tool.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/tool.h b/tools/tool.h index a398ed5a6d8..c6d2db8780a 100644 --- a/tools/tool.h +++ b/tools/tool.h @@ -61,7 +61,7 @@ namespace mongo { mongo::DBClientBase &conn( bool slaveIfPaired = false ); void auth( string db = "" ); - + string _name; string _db; @@ -70,7 +70,11 @@ namespace mongo { string _username; string _password; + void needFields(); + vector<string> _fields; + BSONObj _fieldsObj; + private: string _host; mongo::DBClientBase * _conn; |