MongoDB  2.7.0
Public Member Functions | List of all members
mongo::QuerySpec Class Reference

Represents a full query description, including all options required for the query to be passed on to other hosts. More...

#include <dbclientinterface.h>

Public Member Functions

 QuerySpec (const string &ns, const BSONObj &query, const BSONObj &fields, int ntoskip, int ntoreturn, int options)
 
bool isEmpty () const
 
bool isExplain () const
 
BSONObj filter () const
 
BSONObj hint () const
 
BSONObj sort () const
 
BSONObj query () const
 
BSONObj fields () const
 
BSONObjfieldsData ()
 
const BSONObjfieldsPtr () const
 
string ns () const
 
int ntoskip () const
 
int ntoreturn () const
 
int options () const
 
void setFields (BSONObj &o)
 
string toString () const
 

Detailed Description

Represents a full query description, including all options required for the query to be passed on to other hosts.


The documentation for this class was generated from the following file: