public function MongoDebugCursor::__construct in MongoDB 7
Same name and namespace in other branches
- 6 mongodb.module \MongoDebugCursor::__construct()
Constructor.
Parameters
string $collection: The name of the collection on which the cursor applies.
See also
mongoDebugCollection::find()
File
- ./
mongodb.module, line 216 - Contains the main module connecting Drupal to MongoDB.
Class
Code
public function __construct($collection) {
$this->collection = $collection;
}