Add array of executed queries
This commit is contained in:
parent
4c546ed3e9
commit
92c989e6f8
@ -168,6 +168,17 @@ class Query_Builder {
|
||||
*/
|
||||
public $conn_name = "";
|
||||
|
||||
/**
|
||||
* List of sql queries executed
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $queries;
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// ! Methods
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
@ -1396,6 +1407,8 @@ class Query_Builder {
|
||||
break;
|
||||
}
|
||||
|
||||
$this->queries[] = $sql;
|
||||
|
||||
// echo $sql . '<br />';
|
||||
|
||||
return $sql;
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user