MongoCursor::__construct
Create a new cursor
&reftitle.description;
public MongoCursor::__construct
MongoClientconnection
stringns
arrayqueryarray()
arrayfieldsarray()
&reftitle.parameters;
connection
Database connection.
ns
Full name of database and collection.
query
Database query.
fields
Fields to return.
&reftitle.returnvalues;
Returns the new cursor.