Details
-
Type:
Documentation
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.1.1
-
Fix Version/s: None
-
Component/s: Documentation
-
Security Level: All
-
Labels:None
Description
DQL Example about count
related entity is wrong
Activity
Aigars Gedroics
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Affects Version/s | 2.1.1 [ 10153 ] | |
| Component/s | Documentation [ 10013 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 12706 ] | jira-feedback [ 13934 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 13934 ] | jira-feedback2 [ 15798 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 15798 ] | jira-feedback3 [ 18055 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1201, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Also similar DQL in documentation URL http://www.doctrine-project.org/docs/orm/2.1/en/reference/dql-doctrine-query-language.html#pure-and-mixed-results fails parsing stage:
$dql = "SELECT u, 'some scalar string', count(u.groups) AS num FROM User u JOIN u.groups g GROUP BY u.id";with error
Should be "count(g.id)" instead of "count(u.groups)".