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