Pages::getQueryInfo()

Version 2024.3

Get info of the last query

Return value

$this

Full documentation

Get info for orders query

$Projects = $this->get('pages','project')->setWhere('order_status','New');
$Projects->fetchQuery();

$info = $Projects->getQueryInfo();
// Array(table,query,variables,rows,message)