Skip to content

Instantly share code, notes, and snippets.

@pasamio
Created January 11, 2014 00:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pasamio/8365179 to your computer and use it in GitHub Desktop.
Save pasamio/8365179 to your computer and use it in GitHub Desktop.
Quick one-liner to put a query in the query log to help figure out ordering for queries similar to profiling marks.
JFactory::getDbo()->setQuery("SELECT 'beforeCActivities::_getData_getActivities'")->execute(); // Query progress mark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment