How to print the sql dump in cake php

by admin on February 27th, 2013

$db = ConnectionManager::getDataSource('default');
$db->showLog();

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>