I'm fairly new to Code Igniter, and I'm using Active Record for all the queries in a new project.
Is there a way to output the SQL statement without actually running it.
The function i've created has quite a few statements in it, selects, deletes and updates, and I want to make sure they are correct before running them in a test environment as they have a lot of Ifs and cases around them to build up the queries.
So in short, I just want it to echo the statement, but not run it.
Thanks in advance! :)