Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-544

Where's the Query::HYDRATE_BOTH constant?

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.5
    • Component/s: None
    • Environment:
      Doctrine 2.3.4 DBAL + ORM, using Silex

      Description

      In the documentation of the the ResultStatement::fetch() function says that we should use the Query::HYDRATE_* constants but that constant does not exist at least not in 2.3.4.

      Should I just use PDO::FETCH_BOTH? But if I change the driver to sqlite or whatever is it going to work well?

        Activity

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Julio Montoya
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: