MongoCollection::__construct Creates a new collection &reftitle.description; public MongoCollection::__construct MongoDBdb stringname &reftitle.parameters; MongoDB db Parent database. name Name for this collection. &reftitle.returnvalues; Returns a new collection object. &reftitle.errors; Throws default exception if the collection name is invalid.