see https://doctrine-orm.readthedocs.org/en/latest/reference/working-with-objects.html#querying