• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
View query before being executed?

#3
[eluser]phpoet[/eluser]
According to the documentation, last_query() returns the sql for the last query that has already been executed. It pops the last query off the queries[] array from the CI_DB_Driver class and it looks like the query doesn't get added to the array until it's run.


Messages In This Thread
View query before being executed? - by El Forum - 09-04-2008, 09:20 AM
View query before being executed? - by El Forum - 09-04-2008, 11:54 AM
View query before being executed? - by El Forum - 09-05-2008, 08:01 AM
View query before being executed? - by El Forum - 09-05-2008, 08:12 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.