doctrine/DoctrineModule — pull request #221 by caferrari (2013-04-25 12:57:57+00:00)
Title: Form values from a custom DQL

If you must make a custom query using a DQL you can specify the option 'is_dql'
The first field from your resultset will be the label and the second one will be the value,
If your DQL returns only one field, it'll be used as label and value