We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c27e04 commit d41b3b7Copy full SHA for d41b3b7
src/Sokil/Mongo/Yii/DataProvider.php
@@ -22,7 +22,7 @@ public function __construct($dataSource, $config = array())
22
$this->_queryBuilder = $collection->find();
23
}
24
// query builder
25
- else if ($dataSource instanceof \Sokil\Mongo\QueryBuilder) {
+ else if ($dataSource instanceof \Sokil\Mongo\Cursor) {
26
$this->_queryBuilder = $dataSource;
27
28
0 commit comments