Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-38

Unused DBAL\Events (preExecute, postExecute)...

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-BETA3
    • Fix Version/s: 2.0.0-BETA4
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux

      Description

      The ORM has a neat collection of Events, but the DBAL doesn't have any.
      There is an DBAL/Events.php class which has defined constants for preExec, postExec, preExecute and postExecute (similar to ORM/Events.php), but these seem to be completely unused.
      The only event/loging seems to be the ->logSql() event.

      A preExecute & postExecute events would be great for timing/profiling queries.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: