Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Simple way to select colum
      for example I want select id's of entity's to save in cache or in other select query
      Or i vant select one distinct field.

      SELECT u.id FROM User as u

      getResult give

      array(
      0=>array('id' => 1),
      1=>array('id' => 2),
      )

      but how can take this

      array(
      0=> 1,
      0=> 2,
      )

        Activity

        Ivan Borzenkov created issue -
        Hide
        Ivan Borzenkov added a comment - - edited

        for example

        http://stackoverflow.com/questions/11327798/change-the-getresult-array-key-for-the-primary-key-value

        this code would be good add in library
        (and array key maybe too )

        Show
        Ivan Borzenkov added a comment - - edited for example http://stackoverflow.com/questions/11327798/change-the-getresult-array-key-for-the-primary-key-value this code would be good add in library (and array key maybe too )

        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-2087, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Ivan Borzenkov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: