How to show the SQL statement of a query ?

You must just write this line for show the SQL code generate by the query :

info(query.dataSourceNo(1).toString());

All SQL code about the query in save in the FIRST datasource.

Advertisements