Doctrine 1
  1. Doctrine 1
  2. DC-238

Doctrine_Query::count() doesn't follow useResultCache

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 1.2.0-RC1
    • Component/s: Query
    • Labels:
      None

      Description

      The count method of Doctrine_Query doesn't follow useResultCache option, so I have to make loop away with fetchOne or something like that use "execute()".

      So I fixed this issue, see the attachment for details!

        Activity

        Hide
        Jonathan H. Wage added a comment -

        I decided to fix this in Doctrine 1.2 before it really is too late.

        Show
        Jonathan H. Wage added a comment - I decided to fix this in Doctrine 1.2 before it really is too late.

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Fabian Spillner
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: