Rustam Mamadaminov
Rustam Mamadaminov
Duplicate of #291
Which is version your yii2-mongodb ?
I think you have to use `$match` pipeline stage ``` $pipeline = [ ['$match' => [ // ] ['$group' => [ '_id' => null, 'count' => [ '$sum' => 1...
Try this `Yii::$app->mongodb->createCommand()->listIndexes()`
See https://github.com/yiisoft/config/pull/64
@NoNameProvided `@MessageBody` decorator takes only json data https://github.com/typestack/socket-controllers/blob/b5fcec2a1466153e424a903e3e34691b39683f05/src/SocketControllerExecutor.ts#L206-L216
can you explain more?
How about this: ```js const app = require("express")(); const server = require("http").Server(app); const io = require("socket.io")(server); app.io = io; server.listen(3001); app.get("/", function (req: any, res: any) { req.app.io.broadcast.emit('hello', 'Hello everyone');...
So far this is a temporary solution.
@fr3fou maybe we do it, also you can use `middlewares`.