alcaeus / mongo-php-adapter

:link: Adapter to provide ext-mongo interface on top of mongo-php-library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

explain() not implemented

xosofox opened this issue · comments

I'm currently working adding "explain" to the DoctrineMongoDBBundle's profiler, so naturally this is a problem as explain() is not implemented.

Is this a "simple problem" that was just not done because it did not seem necessaary or is there a major problem to do so?

Any pointers on what to look for in doing it?

It wasn't far up my list and to be honest I also just forgot about it. If you want to get started, the starting point would be the explain command in MongoDB. The new cursor object in the MongoDB driver doesn't have an explain method, so you'll have to call the explain command yourself and format the result. Feel free to give this a crack, let me know if I can be of any help.