Details
Description
The QueryBuilder does not allow the INDEX BY clause in the form() function, so queris like 'SELECT u FROM User u INDEX BY u.id' are not possible just using the QueryBuilder. There is the option in the join() functions but when a join is not needed, you can only use DQL.
If you find id appropiate i'll work on a patch for the issue.
Activity
Albert Casademont
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
The QueryBuilder does not allow the INDEX BY clause in the form() function, so querys like 'SELECT u FROM User u INDEX BY u.id'. There is the option in the join() functions but when a join is not needed, you can only use DQL instead of the QueryBuilder. If you find id appropiate i'll work on a patch for the issue. |
The QueryBuilder does not allow the INDEX BY clause in the form() function, so queris like 'SELECT u FROM User u INDEX BY u.id' are not possible just using the QueryBuilder. There is the option in the join() functions but when a join is not needed, you can only use DQL. If you find id appropiate i'll work on a patch for the issue. |
Guilherme Blanco
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Benjamin Eberlei [ beberlei ] | Guilherme Blanco [ guilhermeblanco ] |
| Fix Version/s | 2.1.3 [ 10164 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 12928 ] | jira-feedback [ 14998 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 14998 ] | jira-feedback2 [ 16862 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 16862 ] | jira-feedback3 [ 19115 ] |