Connect To Mongodb Through Yii

Hi…

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 !

Hi,

what u need is here

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

[size="2"][color="#1c2837"]http://www.yiiframework.com/extensions/?tag=mongodb[/color][/size]