Abolfazl

Results 29 comments of Abolfazl

This is my web socket server: ```php $loop = \React\EventLoop\Factory::Create(); new \Ratchet\Server\IoServer( new \Ratchet\Http\HttpServer( new \Ratchet\WebSocket\WsServer( new class implements \Ratchet\MessageComponentInterface { public function OnOpen(\Ratchet\ConnectionInterface $con){ } public function OnMessage(\Ratchet\ConnectionInterface $con,...

@samdark what is milestone for this PR ?

> > > @schmunk42 does it make sense to do it in non-optimized way? @samdark please see [Checking if a document exists – MongoDB slow findOne vs find](https://blog.serverdensity.com/checking-if-a-document-exists-mongodb-slow-findone-vs-find/)

> > > Duplicate of #291 Not Duplicate. (see [fix each() start key](https://github.com/yiisoft/yii2-mongodb/pull/297/commits/94d99c3b10ec788ed146034df729559c08cbf542)) `better performance for exists() method of Query class` exists in master branch. how i can remove this...

**main purpose** in my console application when i set `enableLogging` and `enableProfiling` to `false` but logging and profiling still worked. seems some part of codes like current committed file not...

> https://travis-ci.com/github/yiisoft/yii2-mongodb/jobs/357995598#L1572 - fails tests on connection. @samdark fixed. but some errors is related to other bugs. please see https://github.com/yiisoft/yii2/pull/18184 https://github.com/yiisoft/yii2-mongodb/pull/315 https://github.com/yiisoft/yii2-mongodb/pull/316

> @samdark > @ziaratban referencing Yii::$app->mongodb is incorrect. You should use connection. fixed.

> > > Seems tests aren't alright with new code. ``` 1) yiiunit\extensions\mongodb\ActiveDataProviderTest::testQuery yii\base\InvalidConfigException: Unknown component ID: mongodb ``` I think this is about test case. (#316 )

i merged branch `test-case-db-problem` into `match-with-enableLogging-and-Profiling` and all checks have passed. i will drop the last commit if you confirm this issue.([also a bug existed](https://github.com/yiisoft/yii2-mongodb/pull/314/commits/dd7c5557150b864075474ad433a012d55843629e))

No, I think no uncovered cases exist. A wrong direction has gone through, across the 'test case' project. Mongodb's component is not used. Docs say this about the `Query::all()` :...