doctrine/mongodb-odm — pull request #353 by tystr (2012-07-10 16:59:40+00:00)
Title: Fix dot-notation when using the querybuilder with hash field types

This fixes a bug where the field name (property name on the document) is used in the actual query instead of the mapped mongodb field name.

With the following mapping:
``

This bit of an upsert query:
`$qb->field('pages.1.i')->inc(1)`

Results in this:
` { "$inc": {"pages.1.i": 1 } })`

Instead of the expected:
` { "$inc": {"p.1.i": 1 } })`