Serious missing feature - get generated sql without actually running it. last_query() is good, getSql() is better.