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?