Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

query

posted by dao27 9 years ago

can somehow catch last executed query into a variable?

I presume you are talking about using the ORM? If so, there is no way to get the last query that was executed. In many cases the last query will be a COMMIT operation, so that wouldn't be useful anyway. Why do you want to get the last query?

posted by wbond 9 years ago

for print or export excel. now i put result of a last query in a session and i used when i needed.

posted by dao27 9 years ago

You would have to manually run the queries if you want to keep track of the last one.

posted by wbond 9 years ago