This comment seems redundant. It is also made of lies: the statement just gets an entity from the first column of the current row in the resultset, it doesn't index anything and it doesn't act on 'each' of anything.