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