Added ability to specify INDEX BY when creating a QueryBuilder from a Repository