doctrine/mongodb-odm — comment on commit 2da6e9c92d515edae7c63233740349e0d272b19b
File:  line 0
By jwage:

I added tests for it in another commit here: https://github.com/doctrine/mongodb-odm/commit/d148acf50659c98bb8cc0d964be0544a39169dd8

$qb->field('groups')->prime(true);

Will load all the groups in the resultset in one query.