Making Doctrine and Symfony Logged Queries Runnable
A tool that converts Doctrine and Symfony SQL log entries into runnable queries for debugging background processes without the web debug toolbar.
Read the postPosts tagged sql from Setfive.
4 posts
A tool that converts Doctrine and Symfony SQL log entries into runnable queries for debugging background processes without the web debug toolbar.
Read the postFive MySQL techniques for custom sorting, filtering LEFT JOINs, reusing aggregate variables, generating ranked columns, and selecting maximum rows per group.
Read the postA PHP SQL join checker parses hand-written queries against database foreign keys to catch incorrect joins and reveal missing constraints.
Read the postSo for one reason or another (actually a few bad ones) I ended up having to use a Criteria object looking like this: My issue came when I tried to use it with a sfPropelPager. I set up the pager per usual but for some reason the results that were coming back weren’t correct. For some reason, the COUNT being returned by the sfPropelPager was completely wrong. It turns out the offending lines are here in sfPropelPager.class.php
Read the post