Connect To Mongodb Through Yii


I am currently using mysql in my Yii project.

For performance reasons I want to change few queries to use mongoDB.

I am currently using the CDbCommand for building queries.

I wanted to know how to connect to mongoDB for and run specific queries, like I do with CDbCommand.

I want to do something like below -

//connect to mongodb

//run query and get data for this query

//disconnect to mongodb and continue with mysql

If anyone has idea it will be helpful.

Thanks !


what u need is here

[color=#1C2837][size=2]yiimongodbsuite is what you need. [/size][/color]