public getQueryBuilder ( ) : |
||
return | the query builder for the this MongoDB connection. |
public function getQueryBuilder()
{
if (!is_object($this->_queryBuilder)) {
$this->_queryBuilder = Yii::createObject($this->_queryBuilder, [$this]);
}
return $this->_queryBuilder;
}