title: Echo query before execution and without execution in codeigniter Active Record
body: <p>I am looking for a way to see generated string of the query but <strong>without</strong> executing it.</p>
  
  <p>Note that the query hasn't been executed before. (I do not want <code>$this-&gt;db-&gt;last_query();</code>)</p>
  
  <p>I hope there be a method with a name like <code>$this-&gt;db-&gt;echo_query_string($table_name = '');</code> to be used <strong>exactly like</strong> <code>$this-&gt;db-&gt;get($table_name = '');</code> <strong>BUT THE ONLY DIFFERENCE BE THAT</strong> <code>get()</code> executes the code, but <code>echo_query_string()</code> just echoes the string of query <strong>without execution</strong>.</p>