<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue May 21 08:37:36 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/si/jira.issueviews:issue-xml/DDC-2314/DDC-2314.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DDC-2314] getResults with numeric indexes for fields</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2314</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;When executing a simple query with field names in SELECT clause, it is not possible to map field to numeric indexes.&lt;/p&gt;

&lt;p&gt;This is an example that i would imagine to be useful:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;SELECT c.id AS 0, c.name AS 1, l.text AS 2 FROM Category c LEFT JOIN c.label l&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;Thus, the resulting results could be numeric indexed array. It is useful for many situations: when working with an API which expects such arrays, or when using &lt;tt&gt;list&lt;/tt&gt; to assign result fields to variables directly.&lt;/p&gt;

&lt;p&gt;Query::HYDRATE_SCALAR does not achieve this, as one could think at first glance.&lt;/p&gt;</description>
                <environment></environment>
            <key id="14543">DDC-2314</key>
            <summary>getResults with numeric indexes for fields</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="ninjds">Ninj</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 Feb 2013 13:27:27 +0000</created>
                <updated>Tue, 26 Feb 2013 08:36:04 +0000</updated>
                                                                    <component>ORM</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>