Get collection from previously selected database by self::useDatabase()
public getCollection ( string $name ) : |
||
$name | string | |
return |
/** * * @param string $name * @return \Sokil\Mongo\Collection */ protected function getCollection($name) { return $this->client->getCollection($name); }