-
MODX Staff
- 10,725 Posts
Using XDebug's profiling is the only way I know at the moment, since you can't access a query count for a PDO instance as far as I know, and xPDO simply wraps PDO.
However, you can turn on xPDO debugging to get more debugging output, including most of the queries that are executed. Just use xPDO->setDebug(true).