doctrine/mongodb-odm — pull request #541 by j (2013-03-28 21:25:23+00:00)
Title: no need to query for discriminator mapped names when looking up an identifier

After running the profiler, I noticed every query had, `$in: [.. some large array ..]` when I'm simply doing a find.

id's are unique in itself... is this behavior correct?

I'm not really feeling like putting an index on _id and the discriminator field.