mongodb\file\ActiveQuery getCollection()

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.

doc_Yii
2016-10-30 17:08:13
Comments
Leave a Comment

Please login to continue.