Jira issue originally created by user corphi:
createQueryBuilder() currently doesn’t have a parameter to set the third option on the FROM fragment: indexBy. Right now you have to read it, create a new From with the read properties and your desired indexBy value and replace the existing one on the QueryBuilder.
Should be ten minutes’ work including tests. Thanks a lot!