getCollection() public method
Returns the Mongo collection for this query.
public yii\mongodb\file\Collection getCollection ( $db = null ) | ||
---|---|---|
$db | yii\mongodb\Connection |
Mongo connection. |
return | yii\mongodb\file\Collection |
Collection instance. |
Please login to continue.