View query before being executed? |
[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
|