Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
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.
Roman, do we want to implement these? If so I can produce a patch.