Getting CodeIgniter Active Record's current SQL code

Viewed 36705

for example, i want to convert this;

$this->db->get('table');

to this;

'SELECT * FROM table'

is there any function for this? i searched on the user guide of CI but didnt find any solution.

2 Answers
Related